[2/2] rpcrt4: Clear the connection pool when closing an http connection.

Hans Leidekker hans at codeweavers.com
Wed Sep 4 08:01:49 CDT 2013


---
 dlls/rpcrt4/rpc_transport.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index d0857fa..1eb0151 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -3234,6 +3234,8 @@ static int rpcrt4_ncacn_http_close(RpcConnection *Connection)
   HeapFree(GetProcessHeap(), 0, httpc->servername);
   httpc->servername = NULL;
 
+  /* don't allow this connection to be reused */
+  InternetSetOptionW(NULL, INTERNET_OPTION_SETTINGS_CHANGED, NULL, 0);
   return 0;
 }
 
-- 
1.8.4.rc3






More information about the wine-patches mailing list