| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Mon, 5 Aug 2002 21:19:32 -0700 (PDT) |
| From: | "John D. Hardin" <jhardin AT impsec DOT org> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Bug (or misfeature) report: cygwin setup behing caching proxy |
| In-Reply-To: | <200207310352.UAA10142@hq.impsec.org> |
| Message-ID: | <Pine.LNX.4.10.10208052117480.28323-100000@gypsy.impsec.org> |
| MIME-Version: | 1.0 |
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 AT impsec DOT org pgpk -a jhardin AT impsec DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |