We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4985aea commit 8f4c2c5Copy full SHA for 8f4c2c5
sapi/cli/php_cli_server.c
@@ -1898,7 +1898,11 @@ static void php_cli_server_client_dtor(php_cli_server_client *client) /* {{{ */
1898
}
1899
pefree(client->addr, 1);
1900
zend_string_release_ex(client->addr_str, /* persistent */ true);
1901
- // TODO release client->current_header_name ?
+
1902
+ /* Headers must be sent */
1903
+ assert(client->current_header_name == NULL);
1904
+ assert(client->current_header_value == NULL);
1905
1906
if (client->content_sender_initialized) {
1907
php_cli_server_content_sender_dtor(&client->content_sender);
1908
0 commit comments