diff options
author | Felipe Pena <felipe@php.net> | 2009-03-16 15:05:21 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2009-03-16 15:05:21 +0000 |
commit | 85c77890523526d39427f7f5d3e21cfd46d1bbe0 (patch) | |
tree | 81c8839718f05883b52d24431a9127272175a0d4 | |
parent | b72606c92ff08c5061126916311554d49b4321f4 (diff) | |
download | php-git-85c77890523526d39427f7f5d3e21cfd46d1bbe0.tar.gz |
- Fixed bug #47616 (curl keeps crashing)
-rw-r--r-- | ext/curl/interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index b63660cb71..c6274a144a 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -1747,6 +1747,7 @@ type_conflict: } else { #if LIBCURL_VERSION_NUM >= 0x071101 + convert_to_string_ex(zvalue); /* with curl 7.17.0 and later, we can use COPYPOSTFIELDS, but we have to provide size before */ error = curl_easy_setopt(ch->cp, CURLOPT_POSTFIELDSIZE, Z_STRLEN_PP(zvalue)); error = curl_easy_setopt(ch->cp, CURLOPT_COPYPOSTFIELDS, Z_STRVAL_PP(zvalue)); |