a5886aec87fbfd767a110e6168ce96411acfe798 |
|
24-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Allow determining at any time whether the connection will be closed after handling a request.
Previously, this was only possible during response submission, which potentially requires making a `close' parameter available for any API function that submits a (failure) response.
This would become very ugly and inflexible. |
711e8e4c5c5d702dfa062f42a1ede5de14c151c9 |
|
15-Sep-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Fixed connection reference counting.
Connection often still got destroyed too early. Particularly submitting
responses would potentially destroy the connection, which is often
unexpected. Sending responses is now postponed until handled by the stream
output handler, which is explicitly triggered when necessary. |