Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-http: server: Fix premature connection destroy in http_server_con…
…nection_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.
- Loading branch information