dovecot-2.2: lib-http: Timeouts were being handled wrong/leaked ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 27 20:28:11 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/975fdf5a6987
changeset: 16567:975fdf5a6987
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 27 20:26:13 2013 +0300
description:
lib-http: Timeouts were being handled wrong/leaked by ioloop switching.

diffstat:

 src/lib-http/http-client-connection.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cf9024b01720 -r 975fdf5a6987 src/lib-http/http-client-connection.c
--- a/src/lib-http/http-client-connection.c	Thu Jun 27 20:24:45 2013 +0300
+++ b/src/lib-http/http-client-connection.c	Thu Jun 27 20:26:13 2013 +0300
@@ -936,7 +936,7 @@
 	if (conn->to_requests != NULL)
 		conn->to_requests = io_loop_move_timeout(&conn->to_requests);
 	if (conn->to_connect != NULL)
-		conn->to_requests = io_loop_move_timeout(&conn->to_connect);
+		conn->to_connect = io_loop_move_timeout(&conn->to_connect);
 	if (conn->to_input != NULL)
 		conn->to_input = io_loop_move_timeout(&conn->to_input);
 	if (conn->to_idle != NULL)


More information about the dovecot-cvs mailing list