From: Stephan Bosch Date: Sun, 17 Nov 2019 09:52:52 +0000 (+0100) Subject: lib-http: http-server-connection - Run request callback in new datastack frame. X-Git-Tag: 2.3.11.2~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6466d342976483edb2e8710bacb464710963341;p=thirdparty%2Fdovecot%2Fcore.git lib-http: http-server-connection - Run request callback in new datastack frame. --- diff --git a/src/lib-http/http-server-connection.c b/src/lib-http/http-server-connection.c index be01595d07..10ad174280 100644 --- a/src/lib-http/http-server-connection.c +++ b/src/lib-http/http-server-connection.c @@ -298,7 +298,9 @@ http_server_connection_handle_request(struct http_server_connection *conn, old_refcount = req->refcount; conn->in_req_callback = TRUE; - http_server_request_callback(req); + T_BEGIN { + http_server_request_callback(req); + } T_END; if (conn->closed) { /* The callback managed to get this connection destroyed/closed */