[dovecot/core] e009b0: lib-http: server: Fix premature connection destroy...
GitHub
noreply at github.com
Tue Jan 31 14:30:14 UTC 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: e009b0d73b3421b58919ba1ef0548169d9cf7acd
https://github.com/dovecot/core/commit/e009b0d73b3421b58919ba1ef0548169d9cf7acd
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/lib-http/http-server-connection.c
Log Message:
-----------
lib-http: server: Fix premature connection destroy in http_server_connection_output().
Added a reference to the connection object while it is sending the remainder of a response's payload.
This is necessary, since http_server_response_send_more() can destroy the connection, for example when the request has a "Connection: close" header.
This will only occur for responses with a very large payload, because otherwise the payload is fully sent in in the initial pass.
More information about the dovecot-cvs
mailing list