Search squid archive

Cosmetics: How to eliminate HTTP error msg completely ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually, I have a private proxy on the web, set up to be used by me only,
when on the road, in areas of slow wired/wireless connection. Part of it is
to remove ads, when browsing. This is done using local DNS on squid machine,
pointing to 127.0.0.1 for well known ad sites. And a patched web server on
squid machine, always serving minimum content, so no error is visible in the
browser, at least.
This works fine.
Now, quite a few ad providers start using https:\\wellknown.adsite.com .
Which then leads to the following error message in the browser, instead of
the ad:
"The connection has timed out
The server at wellknown.adsite.com is taking too long to respond."
(504 Gateway Timeout)
I assume, because the CONNECT will not get any response from my local
(faked) wellknown.adsite.com

Any suggestion, how/where to hack squid2.7 to also get rid of these ones ?
My idea just now is modifying "504  Gateway Timout" to "204 No Content".
Not knowing https-protocol, will this lead to more errors later on ?
Or any other ideas ?




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Cosmetics-How-to-eliminate-HTTP-error-msg-completely-tp4664551.html
Sent from the Squid - Users mailing list archive at Nabble.com.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux