httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10038] - ab benchmaker hangs on 10K https URLs with keepalive
Date Wed, 19 Feb 2003 21:14:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10038>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10038

ab benchmaker hangs on 10K https URLs with keepalive





------- Additional Comments From mcmanus@datapower.com  2003-02-19 21:14 -------
I just had this problem too.. this patch is one way to address the problem (I
had it on 2.0.44)

--- ab.c        Wed Oct 16 08:39:21 2002
+++ new.c       Wed Feb 19 17:07:54 2003
@@ -762,12 +762,6 @@
 #endif
        e = apr_send(c->aprsock, request + c->rwrote, &l);
 
-       /*
-        * Bail early on the most common case
-        */
-       if (l == c->rwrite)
-           break;
-
 #ifdef USE_SSL
         if (ssl != 1)
        if (e != APR_SUCCESS) {
@@ -784,7 +778,7 @@
 #endif
        c->rwrote += l;
        c->rwrite -= l;
-    } while (1);
+    } while (c->rwrite != 0);
 
     totalposted += c->rwrite;
     c->state = STATE_READ;

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message