if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &code)) {
RETURN_FALSE;
}
- if (code < 100 || code > 510) {
- http_error_ex(HE_WARNING, HTTP_E_INVALID_PARAM, "Invalid response code (100-510): %ld", code);
+ if (code < 100 || code > 599) {
+ http_error_ex(HE_WARNING, HTTP_E_INVALID_PARAM, "Invalid response code (100-599): %ld", code);
RETURN_FALSE;
}
</maintainer>
</maintainers>
<release>
- <version>1.4.0RC2</version>
- <date>2007-01-19</date>
+ <version>1.4.0</version>
+ <date>2007-01-23</date>
<license>BSD, revised</license>
- <state>beta</state>
- <notes>* Fixed infinite loop with http_parse_params("=")
-* Fixed greedy response message parsing with proxy CONNECT requests (petr at hroch dot info)
+ <state>stable</state>
+ <notes>* Allow response codes up to 599 in HttpMessage::setResponseCode()
</notes>
<deps>
<dep type="php" rel="ge" version="4.3"/>
<email>mike@php.net</email>
<active>yes</active>
</lead>
- <date>2007-01-19</date>
+ <date>2007-01-23</date>
<version>
- <release>1.4.0RC2</release>
+ <release>1.4.0</release>
<api>1.4.0</api>
</version>
<stability>
- <release>beta</release>
+ <release>stable</release>
<api>stable</api>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-* Fixed infinite loop with http_parse_params("=")
-* Fixed greedy response message parsing with proxy CONNECT requests (petr at hroch dot info)
+* Allow response codes up to 599 in HttpMessage::setResponseCode()
]]></notes>
<contents>
<dir name="/">
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_EXT_HTTP_VERSION "1.4.0RC2"
+#define PHP_EXT_HTTP_VERSION "1.4.0"
#ifdef HAVE_CONFIG_H
# include "config.h"