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

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -