Starting now, the verbose text that goes like "About to connect() to" will

now contain the word "proxy" is the hostname is in fact a proxy. This will
help users detect situations when they mistakenly use a proxy.
This commit is contained in:
Daniel Stenberg 2005-09-29 11:37:52 +00:00
parent e19ee2d102
commit e43217e664
1 changed files with 2 additions and 1 deletions

View File

@ -2001,7 +2001,8 @@ static CURLcode ConnectPlease(struct connectdata *conn,
struct SessionHandle *data = conn->data;
char *hostname = data->change.proxy?conn->proxy.name:conn->host.name;
infof(data, "About to connect() to %s port %d\n",
infof(data, "About to connect() to %s%s port %d\n",
data->change.proxy?"proxy ":"",
hostname, conn->port);
/*************************************************************