sws.c: fix proxy mode segfault

This commit is contained in:
Yang Tse 2012-01-04 19:14:19 +01:00
parent 3a55daee3d
commit 4bc6c1a026
1 changed files with 1 additions and 0 deletions

View File

@ -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;