This is needed after the following change, since it's not possible to use
input/output != NULL check for it.
connection_update_properties(conn);
conn->connect_finished = ioloop_timeval;
+ conn->client_connect_succeeded = success;
struct event_passthrough *e = event_create_passthrough(conn->event)->
set_name("server_connection_connected");
i_zero(&conn->connect_started);
i_zero(&conn->connect_finished);
+ conn->client_connect_succeeded = FALSE;
conn->ioloop = current_ioloop;
conn->fd_in = fd_in;
/* Reason for disconnection */
enum connection_disconnect_reason disconnect_reason;
+ /* Client connect() succeeded. */
+ bool client_connect_succeeded:1;
/* We have received a version from remote end. */
bool version_received:1;
/* Set if this is a unix socket. */