avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Grimes <frankgrime...@gmail.com>
Subject NettyServer not setting TCP keep-alive leading to leaked connections
Date Wed, 29 Feb 2012 20:20:19 GMT
Hi All,

I think that NettyServer needs to be changed to include the following line:

	bootstrap.setOption("child.keepAlive", true);

Otherwise, it'll be susceptible to the following problem:

Not sure if HttpServer is also affected by this because I haven't yet dug into the Jetty code
to see if it sets TCP keep-alive on its sockets.

Let me know if I should file a JIRA and/or provide a patch...


Frank Grimes
View raw message