mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 14:34:10 +00:00
winhttp: Avoid a crash when the connection is closed while handling a redirect.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48870 Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
be34e08a87
commit
83afd177b3
|
@ -2739,7 +2739,7 @@ static DWORD receive_response( struct request *request, BOOL async )
|
|||
break;
|
||||
}
|
||||
|
||||
netconn_set_timeout( request->netconn, FALSE, request->receive_timeout );
|
||||
if (request->netconn) netconn_set_timeout( request->netconn, FALSE, request->receive_timeout );
|
||||
if (request->content_length) ret = refill_buffer( request, FALSE );
|
||||
|
||||
if (async)
|
||||
|
|
Loading…
Reference in a new issue