]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-ssl-iostream: If handshake callback fails, close the iostreams immediately.
authorTimo Sirainen <tss@iki.fi>
Thu, 4 Apr 2013 12:40:08 +0000 (15:40 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 4 Apr 2013 12:40:08 +0000 (15:40 +0300)
commit9709107819ba60d41f737279dd070b40d46b4120
treed889a52a189f5cba10b0a58f610c1aeedf857412
parent52ccd525937de3e914cc0c54f46de98414dd979d
lib-ssl-iostream: If handshake callback fails, close the iostreams immediately.
This way the callback itself doesn't have to do it. Also fixes errors caused
by it, since they didn't close the ostream.
src/doveadm/server-connection.c
src/lib-http/http-client-connection.c
src/lib-http/http-client.h
src/lib-imap-client/imapc-connection.c
src/lib-ssl-iostream/iostream-openssl.c
src/lib-storage/index/pop3c/pop3c-client.c