}
if (data_len) {
- zval *data = zend_read_property(THIS_CE, getThis(), ZEND_STRS("rrequestBody")-1, 0 TSRMLS_CC);
+ zval *data = zend_read_property(THIS_CE, getThis(), ZEND_STRS("requestBody")-1, 0 TSRMLS_CC);
if (Z_STRLEN_P(data)) {
Z_STRVAL_P(data) = erealloc(Z_STRVAL_P(data), (Z_STRLEN_P(data) += data_len) + 1);
Z_STRVAL_P(data)[Z_STRLEN_P(data)] = '\0';
memcpy(Z_STRVAL_P(data) + Z_STRLEN_P(data) - data_len, raw_data, data_len);
} else {
- zend_update_property_stringl(THIS_CE, getThis(), ZEND_STRS("putData")-1, raw_data, data_len TSRMLS_CC);
+ zend_update_property_stringl(THIS_CE, getThis(), ZEND_STRS("requestBody")-1, raw_data, data_len TSRMLS_CC);
}
}
<email>mike@php.net</email>
<active>yes</active>
</lead>
- <date>2009-02-12</date>
+ <date>2009-03-17</date>
<version>
- <release>1.6.4-dev</release>
+ <release>1.6.4dev</release>
<api>1.6.0</api>
</version>
<stability>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-* Fixed bug #15495 (HttpMessage::setHttpVersion segfault)
-* Fixed bug #15497 (HttpInflateStream::finish segfault)
-* Fixed bug #15499 (HttpRequest::addHeaders segfault)
-* Fixed bug #15509 (HttpMessage::rewind memory leaks)
-* Fixed bug #15800 (Double free when zval is separated in convert_to_*)
-* Fixed bug #15813 (Requests not removed from multi stack when fatal errors occur with fcgi)
+* Fixed PHP4 build
+* Fixed HttpMessage::toMessageTypeObject() to nonor non-string arguments
+* Fixed memory leaks and unterminated string issues with HttpMessage
+* Fixed bug ##16577 typo in http_request_object.c (HttpRequest::addBody)
]]></notes>
<contents>
<dir name="/">