diff options
author | corvid <devnull@localhost> | 2016-07-07 15:27:55 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2016-07-07 15:27:55 +0000 |
commit | 205dedab8404014182e48e3af477c6fc7d41066c (patch) | |
tree | cd85d8f6b6e1864c225f78b8853242ac7a391efa /src/IO | |
parent | da86576c107e0692fb3f55dc097f5e14cc4527ff (diff) |
some status messages when using proxy
Diffstat (limited to 'src/IO')
-rw-r--r-- | src/IO/http.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IO/http.c b/src/IO/http.c index faec1d4a..8e19f4c1 100644 --- a/src/IO/http.c +++ b/src/IO/http.c @@ -486,7 +486,8 @@ static void Http_send_query(SocketData_t *S) query = Http_make_query_str(S->web, S->flags & HTTP_SOCKET_USE_PROXY); dbuf = a_Chain_dbuf_new(query->str, query->len, 0); - MSG_BW(S->web, 1, "Sending query..."); + MSG_BW(S->web, 1, "Sending query%s...", + S->flags & HTTP_SOCKET_USE_PROXY ? " through proxy" : ""); /* send query */ a_Chain_bcb(OpSend, S->Info, dbuf, NULL); @@ -506,6 +507,7 @@ static void Http_connect_tls(ChainLink *info) char *connect_str = Http_get_connect_str(S->url); DataBuf *dbuf = a_Chain_dbuf_new(connect_str, strlen(connect_str), 0); + MSG_BW(S->web, 1, "Tunnel secure connection through proxy..."); a_Chain_bfcb(OpSend, info, &S->SockFD, "FD"); S->https_proxy_reply = dStr_new(NULL); a_Chain_bcb(OpSend, info, dbuf, NULL); @@ -943,6 +945,7 @@ void a_Http_ccc(int Op, int Branch, int Dir, ChainLink *Info, sd->https_proxy_reply->str); dStr_free(sd->https_proxy_reply, 1); sd->https_proxy_reply = NULL; + MSG_BW(sd->web, 1, "Secure connection negotiation..."); a_Tls_connect(sd->SockFD, sd->url); } else { MSG_BW(sd->web, 1, "Can't connect through proxy to %s", |