netty - HexDumpProxyFrontendHandler volatile field -


as far understood methods within channelhandler classes executed same thread. correct me if i'm wrong.

what point declare field volatile in example?

private volatile channel outboundchannel;

http://netty.io/4.1/xref/io/netty/example/proxy/hexdumpproxyfrontendhandler.html

this bug in examples. not needed. let me fix it.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -