We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11a2a5 commit c9a9495Copy full SHA for c9a9495
src/client.c
@@ -142,6 +142,9 @@ static void client_wait_connect(struct client *client)
142
return;
143
}
144
145
+ /* remove before ssl handshake */
146
+ io_remove(&client->io);
147
+
148
if (conf.ssl) {
149
if (ssl_ctx == NULL) {
150
if (ssl_iostream_context_init_client(&conf.ssl_set, &ssl_ctx, &error) < 0)
@@ -160,7 +163,6 @@ static void client_wait_connect(struct client *client)
160
163
client->rawlog_fd = o_stream_get_fd(client->output);
161
164
162
165
- io_remove(&client->io);
166
client->io = io_add_istream(client->input, client_input, client);
167
client->v.connected(client);
168
0 commit comments