https://issues.apache.org/bugzilla/show_bug.cgi?id=48169
--- Comment #2 from Troy Bowman <t...@dublan.net> 2009-11-11 16:24:45 UTC --- The linux distro is Gentoo. Best distro for people who like to drive stick-shift. ;) Thanks to your explanation, I changed the following and the delay indeed completely disappeared. I'm going to use this patch for now on my servers, since I can't stand the 2-second delay. Novice's suggestion: could the SO_LINGER option start as zero and then be modified once mod_jk knows that it is going to do real work? :) --- tomcat-connectors-1.2.28-src/native/common/jk_connect.c.old 2009-11-11 16:49:57.089490502 -0700 +++ tomcat-connectors-1.2.28-src/native/common/jk_connect.c 2009-11-11 16:46:57.583251504 -0700 @@ -640,7 +640,7 @@ #ifndef MAX_SECS_TO_LINGER #define MAX_SECS_TO_LINGER 30 #endif -#define SECONDS_TO_LINGER 2 +#define SECONDS_TO_LINGER 0 #ifndef SHUT_WR #ifdef SD_SEND -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org