Browse Source

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix #66562: Consistency bug where curl_multi_getcontent behaves different from curl_exec
pull/668/head
Stanislav Malyshev 12 years ago
parent
commit
1ef0bd2633
  1. 4
      NEWS
  2. 2
      ext/curl/multi.c

4
NEWS

@ -14,6 +14,10 @@ PHP NEWS
. Fixed bug #67064 (Countable interface prevents using 2nd parameter
($mode) of count() function). (Bob)
- cURL:
. Fixed bug #66562 (curl_exec returns differently than curl_multi_getcontent).
(Freek Lijten)
- Date:
. Fixed bug #66721 (__wakeup of DateTime segfaults when invalid object data is
supplied). (Boro Sitnikovski)

2
ext/curl/multi.c

@ -248,6 +248,8 @@ PHP_FUNCTION(curl_multi_getcontent)
smart_str_0(&ch->handlers->write->buf);
RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1);
}
RETURN_EMPTY_STRING();
}
/* }}} */

Loading…
Cancel
Save