dovecot-2.2: lib-http: Mark the HTTP connection connected only a...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jun 5 15:43:54 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/20b065a5299d
changeset: 16450:20b065a5299d
user: Timo Sirainen <tss at iki.fi>
date: Wed Jun 05 15:43:42 2013 +0300
description:
lib-http: Mark the HTTP connection connected only after SSL handshake is finished.
diffstat:
src/lib-http/http-client-connection.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 686d2dc1d8dd -r 20b065a5299d src/lib-http/http-client-connection.c
--- a/src/lib-http/http-client-connection.c Wed Jun 05 15:08:59 2013 +0300
+++ b/src/lib-http/http-client-connection.c Wed Jun 05 15:43:42 2013 +0300
@@ -665,6 +665,7 @@
*error_r = error;
return -1;
}
+ http_client_connection_ready(conn);
return 0;
}
@@ -703,8 +704,6 @@
conn->conn.name, ssl_iostream_get_last_error(conn->ssl_iostream));
return -1;
}
-
- http_client_connection_ready(conn);
return 0;
}
More information about the dovecot-cvs
mailing list