From 7bea78ced6f9156a8b5c37c4ae8cb15698ead4cd Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Sat, 23 Feb 2002 01:00:33 +0000 Subject: [PATCH] With -vv, client shows a message when opening a daemon connection via an HTTP proxy. This parallels the recent addition of a log message for opening ssh connections. --- socket.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/socket.c b/socket.c index d69e4cf3..ccc79cfe 100644 --- a/socket.c +++ b/socket.c @@ -182,6 +182,10 @@ int open_socket_out(char *host, int port, const char *bind_address, *cp++ = '\0'; strcpy(portbuf, cp); h = buffer; + if (verbose >= 2) { + rprintf(FINFO, "connection via http proxy %s port %s\n", + h, portbuf); + } } else { snprintf(portbuf, sizeof(portbuf), "%d", port); h = host; -- 2.34.1