You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Robin Smith <ro...@bt.com> on 2000/11/07 15:29:20 UTC

general/6810: The ApacheBench program to test many hits does not pass the port number in ab.c

>Number:         6810
>Category:       general
>Synopsis:       The ApacheBench program to test many hits does not pass the port number in ab.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 07 06:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     robin@bt.com
>Release:        1.3.14
>Organization:
apache
>Environment:
Any!
>Description:
I have patched the code and this seems to work
>How-To-Repeat:
Yes see fix below
>Fix:
File is ab.c
797c797
<               "Host: %s\r\n"
---
>               "Host: %s:%d\r\n"
804c804
<               cookie, auth, hostname, hdrs);
---
>               cookie, auth, hostname,port, hdrs);
810c810
<               "Host: %s\r\n"
---
>               "Host: %s:%d\r\n"
820c820
<               hostname, postlen,
---
>               hostname, port, postlen,  
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]