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

make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well

parent 7306b782
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2636,8 +2636,10 @@ static CURLcode ConnectPlease(struct SessionHandle *data,

      switch(data->set.proxytype) {
      case CURLPROXY_SOCKS5:
        result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd, conn->host.name,
                             conn->remote_port, FIRSTSOCKET, conn);
      case CURLPROXY_SOCKS5_HOSTNAME:
        result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd,
                             conn->host.name, conn->remote_port,
                             FIRSTSOCKET, conn);
        break;
      case CURLPROXY_HTTP:
        /* do nothing here. handled later. */