[squid-users] application to proxy should have to use CONNECT method ?

Amos Jeffries squid3 at treenet.co.nz
Wed Apr 16 09:00:57 UTC 2025


On 16/04/25 18:37, Renzo Marengo wrote:
> I know browser uses CONNECT method in http request to communicate to 
> proxy server, I ask  about other applications (which use this proxy 
> server) if It's requirement to use the same  CONNECT method creating a 
> http request to proxy server.
> It often occurs applications communicate to hosts with ports which are 
> different from 80/443 so I think I't' necessary to establish tunnel 
> connection to non standard ports.
> It's all right ?
> 

Not quite. HTTP may occur over any port (unusual, but permitted).

The CONNECT method is to establish a TCP-like tunnel between client and 
server through an HTTP proxy. That includes HTTPS (port 443) traffic 
going through an HTTP proxy.


HTH
Amos



More information about the squid-users mailing list