diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2012-03-02 03:38:04 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2012-03-02 03:38:04 +0000 |
commit | 16748fe0fa927486e029e90b70970d4724a5a72e (patch) | |
tree | 2cdb6c44fa6b59fa79f64d2c3a0ecf0e0e8a9d20 /sapi/cli/php_cli_server.c | |
parent | e83f0261c07834918fcaf6b941bcbddbd0905f4b (diff) | |
download | php-git-16748fe0fa927486e029e90b70970d4724a5a72e.tar.gz |
CLI Server was sending "Connection: closed" instead of "Connection: close"
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r-- | sapi/cli/php_cli_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index e8b6261978..11c3530318 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -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) /* {{{ */ |