From 5cf3780a93a70a157ba1d484a2dfe88f60de5272 Mon Sep 17 00:00:00 2001 From: henri Date: Mon, 22 Apr 2013 19:35:50 +0000 Subject: [PATCH] Added a nsock log message to nsock_connect_internal. Explicitely indicates that a connection is about to be redirected through the proxy chain. --- nsock/src/nsock_connect.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nsock/src/nsock_connect.c b/nsock/src/nsock_connect.c index 8d9c37a3b..51e127e24 100644 --- a/nsock/src/nsock_connect.c +++ b/nsock/src/nsock_connect.c @@ -166,6 +166,9 @@ void nsock_connect_internal(mspool *ms, msevent *nse, int type, int proto, struc && (nse->handler != nsock_proxy_ev_dispatch)) { /* for reentrancy */ struct proxy_node *current; + nsock_log_debug_all(ms, "TCP connection request (EID %d) redirected through proxy chain", + nse->id); + current = proxy_ctx_node_current(iod->px_ctx); assert(current != NULL);