projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
e34ef0f
)
fix curl crash on copy
author
Michael Wallner
<mike@php.net>
Mon, 13 Feb 2012 13:27:46 +0000
(13:27 +0000)
committer
Michael Wallner
<mike@php.net>
Mon, 13 Feb 2012 13:27:46 +0000
(13:27 +0000)
php_http_curl.c
patch
|
blob
|
history
diff --git
a/php_http_curl.c
b/php_http_curl.c
index 2d109225cb8e1180eb8e664a9f3ccf1ba7cfdb38..65b1746b8f7b38ac7a71f71c584d49fe108c3b44 100644
(file)
--- a/
php_http_curl.c
+++ b/
php_http_curl.c
@@
-127,6
+127,7
@@
static void *php_http_curl_copy(void *opaque, void *handle TSRMLS_DC)
void *ch;
if ((ch = curl_easy_duphandle(handle))) {
+ curl_easy_reset(ch);
get_storage(ch);
return ch;
}