Loading lib/ftp.c +3 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,9 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) memset(ftp, 0, sizeof(struct FTP)); conn->proto.ftp = ftp; /* We always support persistant connections on ftp */ conn->bits.close = FALSE; /* get some initial data into the ftp struct */ ftp->bytecountp = &conn->bytecount; Loading lib/http.c +3 −0 Original line number Diff line number Diff line Loading @@ -402,6 +402,9 @@ CURLcode Curl_http(struct connectdata *conn) else http = conn->proto.http; /* We default to persistant connections */ conn->bits.close = FALSE; if ( (conn->protocol&(PROT_HTTP|PROT_FTP)) && data->bits.upload) { data->bits.http_put=1; Loading Loading
lib/ftp.c +3 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,9 @@ CURLcode Curl_ftp_connect(struct connectdata *conn) memset(ftp, 0, sizeof(struct FTP)); conn->proto.ftp = ftp; /* We always support persistant connections on ftp */ conn->bits.close = FALSE; /* get some initial data into the ftp struct */ ftp->bytecountp = &conn->bytecount; Loading
lib/http.c +3 −0 Original line number Diff line number Diff line Loading @@ -402,6 +402,9 @@ CURLcode Curl_http(struct connectdata *conn) else http = conn->proto.http; /* We default to persistant connections */ conn->bits.close = FALSE; if ( (conn->protocol&(PROT_HTTP|PROT_FTP)) && data->bits.upload) { data->bits.http_put=1; Loading