changed logging messages

This commit is contained in:
2014-10-16 13:44:19 +00:00
parent a97cce7d70
commit c4df310ee7
2 changed files with 13 additions and 2 deletions

View File

@ -1884,7 +1884,7 @@ static int task_main_proxy_1 (
httpd->errnum == QSE_HTTPD_ECONN) http_errnum = 403;
if (httpd->opt.trait & QSE_HTTPD_LOGACT)
log_proxy_error (proxy, "proxy connect error - ");
log_proxy_error (proxy, "proxy peer connect error - ");
goto oops;
}
@ -2309,6 +2309,12 @@ static int task_main_proxy (
proxy->res_consumed = 0;
proxy->res_pending = 0;
{
char buf[100];
qse_nwadtombs (&proxy->peer.nwad, buf, QSE_COUNTOF(buf), QSE_NWADTOMBS_ALL);
printf ("OPENDING PEER: [%s]\n", buf);
}
httpd->errnum = QSE_HTTPD_ENOERR;
n = httpd->opt.scb.peer.open (httpd, &proxy->peer);
if (n <= -1)
@ -2319,7 +2325,7 @@ static int task_main_proxy (
httpd->errnum == QSE_HTTPD_ECONN) http_errnum = 403;
if (httpd->opt.trait & QSE_HTTPD_LOGACT)
log_proxy_error (proxy, "proxy connect error - ");
log_proxy_error (proxy, "proxy peer initial connect error - ");
goto oops;
}