]> granicus.if.org Git - php/commitdiff
- Connection: close, not "closed".
authorGustavo André dos Santos Lopes <cataphract@php.net>
Sun, 5 Feb 2012 11:45:01 +0000 (11:45 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Sun, 5 Feb 2012 11:45:01 +0000 (11:45 +0000)
sapi/cli/php_cli_server.c

index e8b626197832bf5e757ba7d55e6b5c9d5d679aee..11c3530318dd1a5672584801c952711e2502a075 100644 (file)
@@ -351,7 +351,7 @@ static void append_essential_headers(smart_str* buffer, php_cli_server_client *c
                        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) /* {{{ */