mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 14:51:27 +02:00
MINOR: peers: use the socket layer operations from the peer instead of sock_raw
At the moment, all the peers are initialized to use sock_raw as the socket layer, so use this info in peers_session_create() instead of the hard-coded sock_raw.
This commit is contained in:
parent
4da69a91a0
commit
1348d4ce0b
@ -1177,7 +1177,7 @@ static struct session *peer_session_create(struct peer *peer, struct peer_sessio
|
||||
s->si[1].release = NULL;
|
||||
s->si[1].send_proxy_ofs = 0;
|
||||
set_target_proxy(&s->si[1].target, s->be);
|
||||
stream_interface_prepare(&s->si[1], &sock_raw);
|
||||
stream_interface_prepare(&s->si[1], peer->sock);
|
||||
s->si[1].exp = TICK_ETERNITY;
|
||||
s->si[1].flags = SI_FL_NONE;
|
||||
if (s->be->options2 & PR_O2_INDEPSTR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user