Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 41265 invoked from network); 2 Sep 2005 09:46:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Sep 2005 09:46:18 -0000 Received: (qmail 79771 invoked by uid 500); 2 Sep 2005 09:46:10 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 79719 invoked by uid 500); 2 Sep 2005 09:46:10 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 79706 invoked by uid 99); 2 Sep 2005 09:46:10 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 02:46:09 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 72BE8E0; Fri, 2 Sep 2005 11:46:08 +0200 (CEST) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 36385] - [mod_jk1.2.14] Prepost pings are not sent before the first request X-Bugzilla-Reason: AssignedTo Message-Id: <20050902094608.72BE8E0@ajax.apache.org> Date: Fri, 2 Sep 2005 11:46:08 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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