Netty 4 difference between channel.close() vs channel.disconnect() -


i writing netty http client pooled connection, added pipeline.addlast("timeout", new readtimeouthandler(readtimeout)); while building channel pipeline.

so in readtimeoutexception want close connection, without disturbing other connection in pool, doubt shall call channel.close() , channel.disconnect(), or channel.close() fine enough.

thanks lot suggestions.


Comments

Popular posts from this blog

html - Cut text on left side inside button while centering -

plugins - CodeIgniter support on netbeans 8.0 -

php - Selecting items from MySQL for a status update feed efficiently while accounting for possible spam -