Commit e43217e6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent e19ee2d1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);

  /*************************************************************