mirror of
https://github.com/curl/curl.git
synced 2026-07-23 10:57:18 +03:00
sws.c: fix proxy mode segfault
This commit is contained in:
parent
3a55daee3d
commit
4bc6c1a026
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue