tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36385] - [mod_jk1.2.14] Prepost pings are not sent before the first request
Date Fri, 02 Sep 2005 09:46:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36385>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36385





------- Additional Comments From hgomez@apache.org  2005-09-02 11:46 -------
Well I prefer :

         /* no need to handle cping/cpong here since it should be at connection
time */

-        if (ajp_connect_to_endpoint(ae, l) == JK_TRUE) {
+        if ((ajp_connect_to_endpoint(ae, l) == JK_TRUE) &&
+                ((ae->worker->connect_timeout < 0) &&
+                ((ae->worker->prepost_timeout > 0)) ||
+                (ajp_handle_cping_cpong(ae, ae->worker->prepost_timeout, l)
+                    == JK_TRUE))) {
             /*
              * After we are connected, each error that we are going to
              * have is probably unrecoverable


Don't send a ping before request if a ping as been send during connect !

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message