]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-http: client: Make sure that any pending request is aborted and destroyed before...
authorStephan Bosch <stephan@rename-it.nl>
Mon, 8 Feb 2016 21:45:54 +0000 (22:45 +0100)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 10 Feb 2016 11:55:25 +0000 (13:55 +0200)
commit79f8a20424633e806447bc9375a5ab403aabc758
tree03cf2e19ce2048f7a79c0ca4a1fa9ad2bf7d5d0e
parentda300472555d9afdb0bcb767456f731cf5c2f6aa
lib-http: client: Make sure that any pending request is aborted and destroyed before connection FDs are closed.

This way, any payload io struct created from the response callback can be freed before the associated FD becomes invalid.
This would cause an assert failure otherwise.
src/lib-http/http-client-connection.c
src/lib-http/http-client-private.h
src/lib-http/http-client-request.c