Skip to main content
The Center's Directory
Proxy basics

Choose between HTTP, HTTPS CONNECT, and SOCKS5 TCP

Compare the capabilities, DNS behavior, and common use cases of the three client proxy protocols.

Maintained by the ZZHTTP engineering teamUpdated August 2, 2026

The protocol should be selected based on the client's capabilities and target request. Current client access supports HTTP, HTTPS CONNECT, and SOCKS5 TCP.

HTTP

  • Developer libraries for common HTTP requests and support for HTTP proxies.
  • The client passes the request to the proxy gateway, which forwards it to the target address.

HTTPS CONNECT

  • The client establishes a CONNECT tunnel through the HTTP agent.
  • The target TLS handshake is completed within the tunnel.

SOCKS5 TCP

  • Suitable for clients that require universal TCP forwarding or native support for SOCKS5.
  • Prioritize proxy-side resolution options when accessing domain names to reduce local DNS leakage.

Selection recommendations

  • HTTP/HTTPS CONNECT is preferred by browsers and common HTTP libraries.
  • Select SOCKS5 TCP for clients that explicitly require SOCKS5.
  • Protocol filling errors are often manifested as authentication failures or handshake failures.

Verification steps

  1. First, an HTTPS detection address is requested by the HTTP proxy to confirm that the client can establish a CONNECT tunnel.
  2. Reuse socks5h Requesting the same domain name, confirming that the domain name resolution is passed to the proxy side with the SOCKS5 request.
  3. The protocol used, status code, exit IP and timeout for each request are recorded, but not the complete credentials in the log.

Expected results

  • The HTTP agent completes the CONNECT and TLS handshake when accessing the HTTPS target. SOCKS5 TCP requests can return a business-like response.
  • Both protocols can be used without the exports having to be the same, and rotating residential routing is still executed by the current connection and session rules.

Failure border

  • Unsupported proxy syntax The local error occurs when the request has not reached the gateway at the client parsing stage.
  • TLS certificate errors are target handshake or local trust chain issues. Only clear 407 The agent is not authenticated.

Did this answer your question?

Feedback is used only to improve the public documentation and does not submit accounts or request information.