]> granicus.if.org Git - apache/commit
Correct behavior of HTTP request headers sent by ab in presence of -H command-
authorSander Temme <sctemme@apache.org>
Mon, 9 Apr 2007 18:50:28 +0000 (18:50 +0000)
committerSander Temme <sctemme@apache.org>
Mon, 9 Apr 2007 18:50:28 +0000 (18:50 +0000)
commitdbeb7d82f32b85462027d7b5f196d0a712298a1a
treebd3c8edf1c61481cef543d496b84a01344b5ade3
parentcf239921e6fcd6fafc77369d948b79d02cfc4aba
Correct behavior of HTTP request headers sent by ab in presence of -H command-
line overrides.  Previously, ab would concatenate a supplied -H User-Agent:
header to the existing one, and send duplicate headers if either -H Host: or
-H Accept: were specified on the command line.

Now, the default headers are not sent if they are overridden using the -H
command-line flag.

Submitted by:  Arvind Srinivasan arvind.srinivasan  sun.com
Reviewed by: sctemme
PR: 31268, 26554

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@526872 13f79535-47bb-0310-9956-ffa450edef68
support/ab.c