Unverified Commit b1b94305 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

RESOLVE: output verbose text when trying to set a duplicate name

... to help users understand what is or isn't done!
parent bbea75ad
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -877,9 +877,12 @@ CURLcode Curl_loadhostpairs(struct Curl_easy *data)
          dns->inuse--;
        }
      }
      else
      else {
        /* this is a duplicate, free it again */
        infof(data, "RESOLVE %s:%d is already cached, %s not stored!\n",
              hostname, port, address);
        Curl_freeaddrinfo(addr);
      }

      if(data->share)
        Curl_share_unlock(data, CURL_LOCK_DATA_DNS);