Juan Lang : winhttp: Connect to the proxy port rather than the host port.
Alexandre Julliard
julliard at winehq.org
Wed Jul 15 09:47:01 CDT 2009
Module: wine
Branch: master
Commit: 85579ebb4c9ece576f885482ef5ffeea3f49095a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=85579ebb4c9ece576f885482ef5ffeea3f49095a
Author: Juan Lang <juan.lang at gmail.com>
Date: Tue Jul 14 13:03:10 2009 -0700
winhttp: Connect to the proxy port rather than the host port.
---
dlls/winhttp/request.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index a0a7a4c..37dd556 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -768,7 +768,7 @@ static BOOL open_connection( request_t *request )
if (netconn_connected( &request->netconn )) return TRUE;
connect = request->connect;
- port = connect->hostport ? connect->hostport : (request->hdr.flags & WINHTTP_FLAG_SECURE ? 443 : 80);
+ port = connect->serverport ? connect->serverport : (request->hdr.flags & WINHTTP_FLAG_SECURE ? 443 : 80);
send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_RESOLVING_NAME, connect->servername, strlenW(connect->servername) + 1 );
More information about the wine-cvs
mailing list