urlmon/tests: Fix protocol tests when proxy is configured
Ge van Geldorp
ge at gse.nl
Sat Jan 17 16:55:31 CST 2009
There is a large amount of proxy configurations possible on Windows (WPAD,
proxy.pac, fixed proxy values), which might behave differently on a second
run of the protocol test compared to the first run. These configurations
influence when/how IInternetProtocolSink methods are called. For example,
with a standard, direct connection you'll get the following ReportProgress
notifications during the https test:
BINDSTATUS_FINDINGRESOURCE
BINDSTATUS_CONNECTING
BINDSTATUS_SENDINGREQUEST
BINDSTATUS_ACCEPTRANGES
BINDSTATUS_MIMETYPEAVAILABLE
However, when you run the protocol test for the second time on a machine
with a fixed proxy server configured, you'll only get these notifications:
BINDSTATUS_SENDINGREQUEST
BINDSTATUS_ACCEPTRANGES
BINDSTATUS_MIMETYPEAVAILABLE
When a proxy is used, the BINDSTATUS_FINDINGRESOURCE and
BINDSTATUS_CONNECTING notifications report the hostname/ip address of the
proxy server, not the end destination.
Changelog:
urlmon/tests: Fix protocol tests when proxy is configured
---
dlls/urlmon/tests/protocol.c | 39
++++++++++++++++-----------------------
1 files changed, 16 insertions(+), 23 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 82eb84f705948eb7af814ef584ab90821f85c072.diff
Type: application/octet-stream
Size: 5540 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090117/0f672313/attachment-0001.obj
More information about the wine-patches
mailing list