mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:43:47 +03:00
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:
parent
e19ee2d102
commit
e43217e664
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
/*************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue