Commit 7bea78ce authored by Martin Pool's avatar Martin Pool

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.
parent 1264288c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment