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

mysqli - Php Mysqli_fetch_assoc Error : "Warning: Illegal string offset 'name' in" -

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

php - Hide Categories from WordPress Dashboard by ID and Custom Post Type -