<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
This is inappropriate. Just all we are need that to make the option
"F*ck the RFC and f*ck anyone who opposes caching" in the SQUID.<br>
<br>
<br>
22.10.2016 1:07, Eliezer Croitoru пишет:<br>
<span style="white-space: pre;">> Instead of modifying the code,
would you consider to use an ICAP service<br>
> that will mangle this?<br>
> I am unsure about the risks about doing so but why patch the
sources if you<br>
> can resolve it with the current mainstream capabilities and
API?<br>
><br>
> Eliezer<br>
><br>
> ----<br>
> Eliezer Croitoru <a class="moz-txt-link-rfc2396E" href="http://ngtech.co.il/lmgtfy/"><http://ngtech.co.il/lmgtfy/></a> <br>
> Linux System Administrator<br>
> Mobile: +972-5-28704261<br>
> Email: <a class="moz-txt-link-abbreviated" href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
> <br>
><br>
> From: squid-users
[<a class="moz-txt-link-freetext" href="mailto:squid-users-bounces@lists.squid-cache.org">mailto:squid-users-bounces@lists.squid-cache.org</a>] On<br>
> Behalf Of Heiler Bemerguy<br>
> Sent: Friday, October 21, 2016 18:21<br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:squid-users@squid-cache.org">squid-users@squid-cache.org</a><br>
> Subject: Re: [squid-users] Caching http google deb files<br>
><br>
><br>
> Hello,<br>
> I've limited the "vary" usage and gained some hits by making
these<br>
> modifications (in blue) to the http.cc code:<br>
> while (strListGetItem(&vary, ',', &item,
&ilen, &pos)) {<br>
> SBuf name(item, ilen);<br>
> if (name == asterisk) {<br>
> /* vstr.clear(); <br>
> break; */ <br>
> continue;<br>
> }<br>
> name.toLower();<br>
><br>
> if (name.cmp("accept", 6) != 0 &&<br>
> name.cmp("user-agent", 10) != 0)<br>
> continue;<br>
><br>
> if (!vstr.isEmpty())<br>
> vstr.append(", ", 2);<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJYCmxVAAoJENNXIZxhPexGj5AH/1GVTNwdJisRXBWSsD190zn5
<br>
GoEaYfpYnGczsUh3h3acbzIbeiAZ048NsKxJx/1wfutGeWSt8sLzLNVX+ej02kN1
<br>
oLnFh0WSQ4uwzZSrvFIe+j1lxumvugpeoA27wZaVaz4uRP8kDiOvnTnFRjevXSH5
<br>
jVHiZkP3BUSElB7Y9p+2GGDyE5AXFIRvF1kJ3GTDqIb90fvpw2K/ES3pKcj7LL8j
<br>
xJRgoyFg7b5tn5xnAPFiiJwwT+4fqIAqDgOL0AZpeLuBPqqXP/UGs5d1KnLWESvT
<br>
luxn4jxJYCcIqfvYC39PVSoXySBHPq58paQtz9wWLM1faDdHX6I78JVROp/Werk=
<br>
=b1xs
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>