Commit a5251e70 authored by Simon Morlat's avatar Simon Morlat Committed by Simon Morlat
Browse files

Add log to show http request sent to proxy.

parent f9a02843
......@@ -563,7 +563,7 @@ static int tls_process_http_connect(belle_sip_tls_channel_t *obj) {
request = belle_sip_strdup_printf("CONNECT %s HTTP/1.1\r\nProxy-Connection: keep-alive\r\nConnection: keep-alive\r\nHost: %s\r\nUser-Agent: Mozilla/5.0\r\n"
belle_sip_message("HTTP request is\n%s", request);
if (channel->stack->http_proxy_username && channel->stack->http_proxy_passwd) {
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