mturk 2005/07/16 05:22:42 Modified: util/java/org/apache/tomcat/util/net AprEndpoint.java Log: Add a missing SO_KEEPALIVE option. See the previous commit for an explanation. Revision Changes Path 1.67 +2 -0 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java Index: AprEndpoint.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- AprEndpoint.java 16 Jul 2005 12:11:11 -0000 1.66 +++ AprEndpoint.java 16 Jul 2005 12:22:42 -0000 1.67 @@ -515,6 +515,8 @@ if (OS.IS_UNIX) { Socket.optSet(serverSock, Socket.APR_SO_REUSEADDR, 1); } + // Deal with the firewalls that tend to drop the inactive sockets + Socket.optSet(serverSock, Socket.APR_SO_KEEPALIVE, 1); // Bind the server socket int ret = Socket.bind(serverSock, inetAddress); if (ret != 0) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]