Mercurial > dovecot > core-2.2
changeset 20346:0b54cb33b565
lib-http: client: Fixed reference counting for requests that are aborted due to an early server response.
An additional http_client_request_unref() is (now) unneccessary.
author | Stephan Bosch <stephan@dovecot.fi> |
---|---|
date | Sun, 22 May 2016 10:42:01 +0200 |
parents | faef7fa2d17a |
children | 7e8ed1fa25bd |
files | src/lib-http/http-client-connection.c |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-http/http-client-connection.c Thu May 19 23:40:26 2016 +0200 +++ b/src/lib-http/http-client-connection.c Sun May 22 10:42:01 2016 +0200 @@ -823,7 +823,6 @@ HTTP_CLIENT_REQUEST_ERROR_BAD_RESPONSE, "Server responded with success response " "before all payload was sent"); - http_client_request_unref(&req); http_client_connection_close(&conn); return; }