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:
Willy Tarreau 2019-06-03 10:14:18 +02:00
parent 6499b9d996
commit 694fcd0ee4

View File

@ -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: