]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-http server: Delay calling the request's destroy callback until handle_request...
authorTimo Sirainen <tss@iki.fi>
Tue, 12 Aug 2014 10:12:01 +0000 (13:12 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 12 Aug 2014 10:12:01 +0000 (13:12 +0300)
commit14bd2410de3a0261d9c53c6120915027262216bd
tree4802f711743569eefdb10302fb8678fd48232013
parenta078043bcc7d3b7feeb6f9cc276918a9c7d1490d
lib-http server: Delay calling the request's destroy callback until handle_request() callback is finished.
This simplifies the code in the handle_request() so it doesn't need to keep
track of whether the response is already submitted or not.
src/lib-http/http-server-connection.c
src/lib-http/http-server-private.h
src/lib-http/http-server-request.c