mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
sws.c: fix proxy mode segfault
This commit is contained in:
parent
3a55daee3d
commit
4bc6c1a026
@ -1299,6 +1299,7 @@ static int http_connect(curl_socket_t infd,
|
||||
if(CURL_SOCKET_BAD == datafd)
|
||||
return 4; /* error! */
|
||||
logmsg("====> Client connect DATA");
|
||||
req2.pipelining = FALSE;
|
||||
if(get_request(datafd, &req2))
|
||||
/* non-zero means error, break out of loop */
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user