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 32202] New: - The hard coded header data size CBUFFSIZE of 512 in ab.c is too small
Date Fri, 12 Nov 2004 16:03:56 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=32202>.
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=32202

The hard coded header data size CBUFFSIZE of 512 in ab.c is too small

           Summary: The hard coded header data size CBUFFSIZE of 512 in ab.c
                    is too small
           Product: Apache httpd-1.3
           Version: 1.3.31
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Other
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: richard@doubleprime.com


We use ab benchmark tool to test some urls and repeated get failed requests. 
It turned out this is due to the remote server sending back many headers whose 
total size in bytes exceeds 512 bytes. ab tool simply truncates the headers at 
512 bytes and the result is then considered invalid.

With many servers supporting all kinds of headers such P3P and LINKS, the 
header size limit of 512 is far too small. I have changed this to 2048 and 
find the resulting ab tool works all the time.

So I recommend that you change CBUFFSIZE from 512 to 2048 in src/support/ab.c

Thanks

Richard Chen

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


Mime
View raw message