dovecot-2.2: login proxy: Fixed connection hanging due to wrong ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 9 09:14:08 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/6a9508d28d34
changeset: 17440:6a9508d28d34
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jun 09 12:12:58 2014 +0300
description:
login proxy: Fixed connection hanging due to wrong ostream cork pairing

diffstat:

 src/login-common/login-proxy.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r feea8645c4d7 -r 6a9508d28d34 src/login-common/login-proxy.c
--- a/src/login-common/login-proxy.c	Thu Jun 05 13:43:11 2014 +0300
+++ b/src/login-common/login-proxy.c	Mon Jun 09 12:12:58 2014 +0300
@@ -123,7 +123,7 @@
 		login_proxy_free_errno(&proxy, errno, "client");
 		return;
 	}
-	o_stream_cork(proxy->client_output);
+	o_stream_cork(proxy->server_output);
 	ret2 = o_stream_send(proxy->server_output, buf, ret);
 	o_stream_uncork(proxy->server_output);
 	if (ret2 != ret) {


More information about the dovecot-cvs mailing list