summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2012-03-02 03:38:04 +0000
committerRasmus Lerdorf <rasmus@php.net>2012-03-02 03:38:04 +0000
commit16748fe0fa927486e029e90b70970d4724a5a72e (patch)
tree2cdb6c44fa6b59fa79f64d2c3a0ecf0e0e8a9d20 /sapi/cli/php_cli_server.c
parente83f0261c07834918fcaf6b941bcbddbd0905f4b (diff)
downloadphp-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.c2
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) /* {{{ */