www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <...@dotat.at>
Subject Re: general/6810: The ApacheBench program to test many hits does not pass the port number in ab.c
Date Tue, 07 Nov 2000 22:10:04 GMT
The following reply was made to PR general/6810; it has been noted by GNATS.

From: Tony Finch <dot@dotat.at>
To: robin@bt.com
Cc: apbugs@apache.org
Subject: Re: general/6810: The ApacheBench program to test many hits does not pass the port
number in ab.c
Date: Tue, 7 Nov 2000 22:02:21 +0000

 Robin Smith <robin@bt.com> wrote:
 >
 >>Synopsis:       The ApacheBench program to test many hits does not pass the port
number in 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,  
 
 Why do you think this is a bug? Web servers ignore the port number in
 the Host header because they get the port number from the TCP
 connection's local address.
 
 Tony.
 -- 
 en oeccget g mtcaa    f.a.n.finch
 v spdlkishrhtewe y    dot@dotat.at
 eatp o v eiti i d.    fanf@covalent.net

Mime
View raw message