Mercurial > dovecot > core-2.2
comparison src/director/director-connection.c @ 14480:d9f33d78fa3d
director: Make sure handshaking doesn't get stuck sending USERs.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 20 Apr 2012 00:42:10 +0300 |
parents | 293ada796ae6 |
children | ce4e1bf7262d |
comparison
equal
deleted
inserted
replaced
14479:293ada796ae6 | 14480:d9f33d78fa3d |
---|---|
1310 o_stream_cork(conn->output); | 1310 o_stream_cork(conn->output); |
1311 ret = director_connection_send_users(conn); | 1311 ret = director_connection_send_users(conn); |
1312 o_stream_uncork(conn->output); | 1312 o_stream_uncork(conn->output); |
1313 if (ret < 0) | 1313 if (ret < 0) |
1314 director_connection_disconnected(&conn); | 1314 director_connection_disconnected(&conn); |
1315 else | |
1316 o_stream_set_flush_pending(conn->output, TRUE); | |
1315 return ret; | 1317 return ret; |
1316 } | 1318 } |
1317 return o_stream_flush(conn->output); | 1319 return o_stream_flush(conn->output); |
1318 } | 1320 } |
1319 | 1321 |