1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00

Curl_http() could crash on connection re-use

This commit is contained in:
Daniel Stenberg 2001-03-04 15:25:54 +00:00
parent dd893fd8a4
commit 90ac37a683

View File

@ -399,6 +399,8 @@ CURLcode Curl_http(struct connectdata *conn)
memset(http, 0, sizeof(struct HTTP));
conn->proto.http = http;
}
else
http = conn->proto.http;
if ( (conn->protocol&(PROT_HTTP|PROT_FTP)) &&
data->bits.upload) {