Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 78934 invoked by uid 500); 7 Nov 2000 22:10:12 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 78866 invoked by uid 501); 7 Nov 2000 22:10:05 -0000 Date: 7 Nov 2000 22:10:04 -0000 Message-ID: <20001107221004.78856.qmail@locus.apache.org> To: apache-bugdb@apache.org Cc: apache-bugdb@apache.org, From: Tony Finch Subject: Re: general/6810: The ApacheBench program to test many hits does not pass the port number in ab.c Reply-To: Tony Finch The following reply was made to PR general/6810; it has been noted by GNATS. From: Tony Finch 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 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