Commit 4bc6c1a0 authored by Yang Tse's avatar Yang Tse
Browse files

sws.c: fix proxy mode segfault

parent 3a55daee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;