diff --git a/src/session.c b/src/session.c index 7f4e45e70..790f89aed 100644 --- a/src/session.c +++ b/src/session.c @@ -193,6 +193,8 @@ int session_accept_fd(struct listener *l, int cfd, struct sockaddr_storage *addr return 1; } + /* OK let's complete stream initialization since there is no handshake */ + cli_conn->flags |= CO_FL_CONNECTED; ret = stream_accept_session(sess, t); if (ret > 0) return ret;