rasmus                                   Fri, 02 Mar 2012 03:38:04 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=323778

Log:
CLI Server was sending "Connection: closed" instead of "Connection: close"

Changed paths:
    U   php/php-src/branches/PHP_5_4/NEWS
    U   php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c

Modified: php/php-src/branches/PHP_5_4/NEWS
===================================================================
--- php/php-src/branches/PHP_5_4/NEWS   2012-03-02 03:36:30 UTC (rev 323777)
+++ php/php-src/branches/PHP_5_4/NEWS   2012-03-02 03:38:04 UTC (rev 323778)
@@ -2,6 +2,9 @@
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2012, PHP 5.4.1 RC1

+- CLI Server:
+  . "Connection: close" instead of "Connection: closed" (Rasmus)
+
 - Core:
   . Fixed bug #61225 (Incorect lexing of 0b00*+<NUM>). (Pierrick)
   . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)

Modified: php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c
===================================================================
--- php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c      2012-03-02 
03:36:30 UTC (rev 323777)
+++ php/php-src/branches/PHP_5_4/sapi/cli/php_cli_server.c      2012-03-02 
03:38:04 UTC (rev 323778)
@@ -351,7 +351,7 @@
                        smart_str_appendl_ex(buffer, "\r\n", 2, persistent);
                }
        }
-       smart_str_appendl_ex(buffer, "Connection: closed\r\n", 
sizeof("Connection: closed\r\n") - 1, persistent);
+       smart_str_appendl_ex(buffer, "Connection: close\r\n", 
sizeof("Connection: close\r\n") - 1, persistent);
 } /* }}} */

 static const char *get_mime_type(const char *ext, size_t ext_len) /* {{{ */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to