[squid-users] Vary object loop returns

Yuri Voinov yvoinov at gmail.com
Mon Jun 6 18:17:56 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
Heh, and what about contains Accept-Encoding, how do your think?

I know where you're going. :) They say that the spaces (%20) are not
there. Unfortunately, they just come through a Vary header. If it is
blocked via manipulation of headlines - we break internet and get a lot
of trouble.

Here the situation is slightly more complicated than it seems Joe.
Developers must write the correct Vary treatment, taking into account
today's reality. Unfortunately, they will not do it. Even given the fact
that correct processing greatly improves efficiency and makes cache
Squid what it actually should be - caching proxy. Of course, you can
just pay the team a few thousand dollars - and this will be done with
ease. However, I believe that such basic functionality must be
implemented by default.

It is enough that Squid does not support and will not support compression.

07.06.2016 0:09, Heiler Bemerguy пишет:
>
>
> Web servers uses the "vary" tag, not "accept-encoding" tag exactly.
Like these sniffed examples:
>
> Vary: *
> Vary: Accept
> Vary: Accept-Encoding
> Vary: Accept-Encoding
> Vary: Accept-Encoding, Accept-Encoding
> Vary: Accept-Encoding,Host
> Vary: Accept-Encoding, User-Agent
> Vary: Accept-Encoding,User-Agent
> Vary: Accept-Encoding,X-Device-Type, Accept-Encoding
> Vary: Accept-Encoding,X-UA-Device
> Vary: If-None-Match, If-Modified-Since
> Vary: Origin
> Vary: Origin, Access-Control-Request-Headers,
Access-Control-Request-Method
> Vary: User-Agent
> Vary: User-Agent,Accept
>
> and all of them have no %20
>
>
> --
> Best Regards,
>
> Heiler Bemerguy
> Network Manager - CINBESA
> 55 91 98151-4894/3184-1751
> Em 06/06/2016 15:01, Yuri Voinov escreveu:
>>
>
>
> 06.06.2016 23:47, Heiler Bemerguy пишет:
>
>
>
>
>       > These are the variations for the "accept-encoding" tag I
>       found when sniffing my client's connections. And they're of all
>       kind. Newer and older browsers, mobile phones, windows updates,
>       whatever..
>
>
>
>       > It got a total of 11.437 requests from clients to squid.
>
>
>
>
>
>       > *accept-encoding: gzip, deflate**
>
>       > **Accept-Encoding: gzip, deflate**
>
>       > **Accept-Encoding: gzip,deflate**
>
>       > **Accept-Encoding: gzip, deflate, lzma, sdch**
>
>       > **Accept-Encoding: gzip, deflate, sdch**
>
>       > **Accept-Encoding: gzip,deflate,sdch**
>
>       > **Accept-Encoding: gzip, xeflate, sdch**
>
>       > **Accept-Encoding: identity**
>
>       > **Accept-Encoding: identity;q=1, *;q=0*
>
>
>
>
>
>       > Notice that some have spaces, some not, but I haven't seen
>       any "%20" representing a space. Is the "%20" put there by squid
>       itself?
>
> No. This comes from web-servers.
>
>
>
>
>
>       > --
>
>       > Best Regards,
>
>
>
>       > Heiler Bemerguy
>
>       > Network Manager - CINBESA
>
>       > 55 91 98151-4894/3184-1751
>
>
>
>
>
>       > Em 06/06/2016 12:08, Yuri Voinov escreveu:
>
>       > Ok, why not to replace %20 to original space symbol?
>
>
>
>
>
>       > 06.06.2016 20:27, joe пишет:
>
>       > >>> not good just to strip %20 lol as i post it
>       remove also  string was belong to
>
>       > >>> the date
>
>       > >>> we need to remove all of those string start with
>       ,%20    as ,%20sdch so
>
>       > >>> its not eassy detection
>
>       > >>>
>
>       > >>> it kill 
>       if-modified-since="Mon,%2006%20Jun%202016%2014%3A31%3A32%20GMT",
>
>       > >>>
>
>       > >>> if you notice this string in vary  has %20 so
>       just wide search and
>
>       > clear it
>
>       > >>> remove those :(
>
>       > >>>
>
>       > >>>
>
>       > >>>
>
>       > >>> --
>
>       > >>> View this message in context:
>
>
>
http://squid-web-proxy-cache.1019090.n4.nabble.com/Vary-object-loop-returns-tp4677716p4677856.html
>
>       > >>> Sent from the Squid - Users mailing list archive
>       at Nabble.com.
>
>       > >>> _______________________________________________
>
>       > >>> squid-users mailing list
>
>       > >>> squid-users at lists.squid-cache.org
>
>       > >>>
>       http://lists.squid-cache.org/listinfo/squid-users
>
>       >>
>
>       >>
>
>       >>
>
>       >> _______________________________________________
>
>       >> squid-users mailing list
>
>       >> squid-users at lists.squid-cache.org
>
>       >> http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>
>
>
>
>       > _______________________________________________
>
>       > squid-users mailing list
>
>       > squid-users at lists.squid-cache.org
>
>       > http://lists.squid-cache.org/listinfo/squid-users
>
>>
>>
>>
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXVb5TAAoJENNXIZxhPexG1rMH/2xIrVzEmiSCUWs5Hzgbue84
xTTKe8zzT4E65TVntmmtERVkClKhDS8r32a/yPOH7wmewbdKrhkGAXznZbL9a1jJ
hSEb7ArOizZ4Sifq/IrpfAqUOGuH2Sy9Fun1htvCVbAPXa6o8geYETixQssSkeTp
pjpcgQMlJIwzmKZFQwjdQSp0w9fbcGTElDRQZMMsI/Iqh/uYPAroU3Nm+J/EBMiG
95ROl4jJkl0tlG8WViDGBKQrz1GFA3d/eDJEd/7Owbe+3lt3sB7Qt3j/6Bjl3GCw
Nu8pCRkXsnVPBD3qlkHZEjzvX2zDFf0SXGimGi+WBMvFfOYIjlbgt+St7YfP/74=
=n3mJ
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160607/96b20bac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160607/96b20bac/attachment.key>


More information about the squid-users mailing list