mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
MINOR: connection: also stop receiving after a SOCKS4 response
Just as is done in previous patch for all handshake handlers, also stop receiving after a SOCKS4 response was received. This one escaped the previous cleanup but must be done to keep the code safe.
This commit is contained in:
parent
6499b9d996
commit
694fcd0ee4
@ -1166,6 +1166,7 @@ int conn_recv_socks4_proxy_response(struct connection *conn)
|
||||
} while (0);
|
||||
|
||||
conn->flags &= ~CO_FL_SOCKS4_RECV;
|
||||
__conn_sock_stop_recv(conn);
|
||||
return 1;
|
||||
|
||||
not_ready:
|
||||
|
Loading…
x
Reference in New Issue
Block a user