wininet: Fix handling of host and referrer headers in HttpOpenRequest.

Hans Leidekker hans at it.vu.nl
Fri Jan 4 06:14:00 CST 2008


It doesn't really make sense to take the host header from the referrer
string, and more importantly, native doesn't do it. The second problem
is that we didn't send a referrer header because we didn't correctly ask
for it to be added to the request headers.

Wireshark traces confirm that we are sending correct host and referrer
headers with this patch.

Fixes http://bugs.winehq.org/show_bug.cgi?id=4939

 -Hans

Changelog
 Fix handling of host and referrer headers in HttpOpenRequest.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wininet_http_02.diff
Type: text/x-diff
Size: 1785 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080104/f398507c/attachment.diff 


More information about the wine-patches mailing list