[3/3] winhttp: Keep the session open in the request object.

Hans Leidekker hans at codeweavers.com
Mon Jun 15 10:33:41 CDT 2015

Cookies have session scope in winhttp and they are not saved, so we
need to keep the session open to ensure that cookies are passed along
with subsequent requests.

IWinHttpRequest::Open allows you to specify whether the request should
be handled asynchronously but in the C API this is determined up front,
when you open the session. So this patch also reworks the code to make
the session asynchronous and handle waiting at the COM level.
 dlls/winhttp/request.c | 194 ++++++++++++++++++++++++++++---------------------
 1 file changed, 110 insertions(+), 84 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-winhttp-Keep-the-session-open-in-the-request-object.txt
Type: text/x-patch
Size: 11415 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150615/49ab1a7c/attachment.bin>

More information about the wine-patches mailing list