Re: [squid-dev] ERR_CONFLICT_HOST for HTTP CONNECT request on port 80

2022-03-04 Thread Alex Rousskov
On 3/4/22 03:25, YFone Ling wrote: I am here just try to understand how the squid determines host conflicts for a simple http connect proxy request? The complete answer to your question is large/complicated and Squid-version dependent, but, AFAICT, there are no conflicts in the simple CONNEC

Re: [squid-dev] ERR_CONFLICT_HOST for HTTP CONNECT request on port 80

2022-03-04 Thread YFone Ling
; > > > > > Eliezer Croitoru > > NgTech, Tech Support > > Mobile: +972-5-28704261 > > Email: ngtech1...@gmail.com > > > > *From:* squid-dev *On Behalf Of > *YFone Ling > *Sent:* Thursday, March 3, 2022 22:55 > *To:* squid-dev@lists.squid-cache.o

Re: [squid-dev] ERR_CONFLICT_HOST for HTTP CONNECT request on port 80

2022-03-03 Thread Amos Jeffries
On 4/03/22 09:55, YFone Ling wrote: My application sends  HTTP CONNECT requests to a HTTP proxy port 80, but gets a squid ERR_CONFLICT_HOST error page. Why? CONNECT is a method reserved for use when talking to a forward/explicit-proxy. Port 80 is a port reserved for origin servers or re

Re: [squid-dev] ERR_CONFLICT_HOST for HTTP CONNECT request on port 80

2022-03-03 Thread Eliezer Croitoru
ch1...@gmail.com> From: squid-dev On Behalf Of YFone Ling Sent: Thursday, March 3, 2022 22:55 To: squid-dev@lists.squid-cache.org Subject: [squid-dev] ERR_CONFLICT_HOST for HTTP CONNECT request on port 80 My application sends HTTP CONNECT requests to a HTTP proxy port 80, but gets a

[squid-dev] ERR_CONFLICT_HOST for HTTP CONNECT request on port 80

2022-03-03 Thread YFone Ling
My application sends HTTP CONNECT requests to a HTTP proxy port 80, but gets a squid ERR_CONFLICT_HOST error page. Is the following code really working as the comments pointed out "ignore them" since the following if condition is "http->request->method != Http::METHOD_CONNECT" and the rest has be