projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd893fd
)
Curl_http() could crash on connection re-use
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 4 Mar 2001 15:25:54 +0000
(15:25 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 4 Mar 2001 15:25:54 +0000
(15:25 +0000)
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
a77cc0e
..
5895014
100644
(file)
--- a/
lib/http.c
+++ b/
lib/http.c
@@
-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) {