mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 06:40:59 +01:00
MINOR: session: set the CO_FL_CONNECTED flag on the connection once ready
If we know there's no handshake, we must set the flag on the connection, it's not the job of the stream initializer to do it.
This commit is contained in:
parent
8baf906366
commit
18b95a4b27
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user