[Tsung] Override Host: Header

Nicolas Niclausse nicolas at niclux.org
Thu Jul 10 11:44:22 CEST 2008


Rodolphe Quiedeville ecrivait le 27.06.2008 18:26:
> Nicolas Niclausse a écrit :
>> Rodolphe Quiedeville ecrivait le 27.06.2008 17:06:
>>> Hi,
>>>
>>> Is it possible to override the Host: header information when
>>> benchmarking HTTP server ?
>>> I tried to add :
>>>
>>> <http_header name="Host" value="www.NAME.com"/>
>>>
>>> but it sends after the first Host header reads from the servers section.
>> Can you retry with this patch ?
>>

Hello,

> A very little bug, below my traffic dump, in the first send it's ok, but
> in the second I have an 2 ^M beetwen User-Agent and Host and apache it's
> little worried by that.

I can't reproduce this behaviour

> Perhaps it could be better to send Host: before User-Agent ?

The following patch does this.

-- 
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: headers.patch
Type: text/x-patch
Size: 4043 bytes
Desc: not available
Url : http://lists.process-one.net/pipermail/tsung-users/attachments/20080710/01bc37d1/headers.bin


More information about the Tsung-users mailing list