Bugfix for POST and PUT method

This commit is contained in:
lorenz.stechauner committed 2020-12-29 11:48:56 +01:00
1 parent bc4a764bd5
commit 798c41f1c8
5 files changed
+32 -4

No files matched your search

+5
View File
@@ -419,6 +419,11 @@ int client_request_handler(sock *client, unsigned long client_num, unsigned int
if (php_fpm.socket != 0) close(php_fpm.socket);
http_free_req(&req);
http_free_res(&res);
if (client->buf != NULL) {
free(client->buf);
client->buf_off = 0;
client->buf_len = 0;
}
return !client_keep_alive;
}