async-http-client icon indicating copy to clipboard operation
async-http-client copied to clipboard

Netty Provider - Socket leakage- Server reset the connection

Open srirama-rayaprolu opened this issue 12 years ago • 6 comments

Version: 1.8.3 With Netty provider, if the server reset the connection, then SOCKET leakage happening. Connection in CLOSE_WAIT mode and having the one byte of data on the receive queue of the socket. I don't have the test code for this. When integrated with our project module and did some performance tests. This is observed. This is with Netty only. With Grizzly, the SOCKET's are handled properly and no CLOSE_WAIT sockets.

srirama-rayaprolu avatar Feb 25 '14 06:02 srirama-rayaprolu

Could you provide some more details, please?

  • Netty version
  • JDK version
  • SSL?
  • Websocket?

slandelle avatar Feb 25 '14 08:02 slandelle

Hi Slandelle, I am using the

Netty version: The one which comes as part of Async 1.8.3 JDK version: jdk1.6.0_32 SSL: No ssl communication Websockets: No web socket.

The remote server is Apache HTTP daemon. It is serving PHP page. In the PHP page there is a random delay of 0~18 seconds. Also, in the server HTTP 1.1 is enabled. Let me know any other information required.

srirama-rayaprolu avatar Feb 25 '14 11:02 srirama-rayaprolu

This looks like a Netty bug, but could as well be a JDK one. Can you reproduce with a modern JDK7 too?

slandelle avatar Feb 25 '14 11:02 slandelle

@srirama-rayaprolu ping

slandelle avatar Jun 11 '14 15:06 slandelle

Hi Stephane: My product need to run with JAVA 6 only. I cannot go for latest JAVA as of now. Planned to go for JAVA 7 in next major release. Till the time pl. close/hold it.

Sriram.

srirama-rayaprolu avatar Jun 12 '14 06:06 srirama-rayaprolu

OK. Closing for now. Feel free to ping if you can reproduce with modern JDK and we can reproduce.

slandelle avatar Jun 12 '14 06:06 slandelle