Skip to content
Snippets Groups Projects
Commit 90ac37a6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Curl_http() could crash on connection re-use

parent dd893fd8
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment