[PATCH] wininet: Handle PROXY_TYPE_PROXY | PROXY_TYPE_DIRECT per-connection flags
Andrew Eikum
aeikum at codeweavers.com
Mon Jan 25 10:17:31 CST 2010
Inexplicably, MSDN has code samples which pass both PROXY_TYPE_PROXY
and PROXY_TYPE_DIRECT bitflags to InternetSetOption simultaneously.
Windows interprets this as enabling the proxy, so we do too. Perhaps
this is to handle user-error passing the INTERNET_OPEN_TYPE_PROXY
value, which is equal to (PROXY_TYPE_PROXY | PROXY_TYPE_DIRECT).
Internet Explorer depends on this behavior.
---
dlls/wininet/internet.c | 13 ++----
dlls/wininet/tests/Makefile.in | 2 +-
dlls/wininet/tests/internet.c | 86
++++++++++++++++++++++++++++++++++++++++
3 files changed, 92 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wininet-Handle-PROXY_TYPE_PROXY-PROXY_TYPE_DIRECT-pe.patch
Type: text/x-patch
Size: 5920 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100125/a014b612/attachment-0001.bin>
More information about the wine-patches
mailing list