[squid-users] CONNECT Response Headers

Alex Rousskov rousskov at measurement-factory.com
Mon Jan 29 14:31:06 UTC 2024


On 2024-01-22 16:28, Alex Coomans wrote:

> I'd like to be able to set headers on the response sent to a CONNECT 
> request, but the documentation notes reply_header_add does not work for 
> that - is there another option or a way to achieve this without needing 
> to MITM the TLS?

AFAICT, Squid does not have code that can customize headers of a regular 
200 (Connection established) response to a CONNECT requests (with or 
without MitM). This functionality is rarely needed (because most clients 
tend to ignore most CONNECT response headers), but quality pull requests 
adding that functionality are welcomed.


HTH,

Alex.



More information about the squid-users mailing list