This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug (or misfeature) report: cygwin setup behing caching proxy


I've been setting up cygwin on some local desktops here, and
was wondering why I was getting slow downloads even though I'm behind
a Squid caching proxy...

As it turns out, perusal of the squid log indicates that the setup
program makes its requests in such a way that the proxy cache is
bypassed and the files are directly fetched:

1027704003.367   3692 TCP_CLIENT_REFRESH_MISS/200 34258 GET ftp://ftp.nas.nasa.gov/mirrors/cygwin.com/pub/cygwin/release/sed/sed-3.02-1.tar.gz - DIRECT/198.9.9.17 application/x-tar
1027704010.780   7407 TCP_CLIENT_REFRESH_MISS/200 456543 GET ftp://ftp.nas.nasa.gov/mirrors/cygwin.com/pub/cygwin/release/sh-utils/sh-utils-2.0-2.tar.gz - DIRECT/198.9.9.17 application/x-tar
1027704016.212   5411 TCP_CLIENT_REFRESH_MISS/200 334645 GET ftp://ftp.nas.nasa.gov/mirrors/cygwin.com/pub/cygwin/release/tar/tar-1.13.19-1.tar.gz - DIRECT/198.9.9.17 application/x-tar

...etc.

Quoting from http://www.squid-cache.org/Doc/FAQ/FAQ-6.html :
-------------------------
TCP_CLIENT_REFRESH_MISS

The client issued a "no-cache" pragma, or some analogous cache control
command along with the request. Thus, the cache has to refetch the
object. 
-------------------------

Is there some reason the setup program does this? I'd like to get the
files from my proxy server and ease the load on the public mirror if
possible.

Thanks!

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin@impsec.org                        pgpk -a jhardin@impsec.org
  768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  ...the Fates notice those who buy chainsaws...
                                              -- www.darwinawards.com
-----------------------------------------------------------------------
   135 days until The Two Towers


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]