X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0	tests=AWL,BAYES_40,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Wed, 11 Apr 2012 14:26:51 -0500 (CDT)
From: Tim McDaniel <tmcd@panix.com>
To: cygwin@cygwin.com
Subject: Interesting gotcha: http + vim-common + maybe Symantec Endpoint Protection
Message-ID: <Pine.NEB.4.64.1204111410370.25555@panix2.panix.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I had something interesting happen to me and wanted to mention it,
though perhaps it's in the FAQ and I've just not noticed it.

Short form: if downloading a file freezes or fails, switching your
setup server from http: to ftp: (or perhaps vice versa) may help.

The symptom was that, for a few months, I was unable to download the
latest version of vim-common -- it would hang, either partway thru or
at the start.  The mirror was http://mirrors.xmission.com/..., so

     Downloading...
     vim-common-7.3.447-1.tar.bz2 from http://mirrors.xmission.com/...

     0 % (0k/1k) 0.0 kB/s

     Download Incomplete. Try again?

Before, I thought that maybe just xmission was hosed.  I tried another
host: same result.  I got tired of it and just uninstalled vim and
vim-common just so I didn't have to re-deselect them on each update.

Today, I wondered whether it was a file permission problem, so I
renamed http%3a%2f%2fmirrors.xmission.com%2fcygwin%2f/release -- same
problem.

I then suddenly thought to try the ftp: version of the same mirror, as
I had been using the http: version.  Success!

My system has, as its antivirus, Symantec Endpoint Protection.
I checked the logs and found nothing.  However, I might not be looking
in the right place, or for all I know, maybe there is scanning further
up like on the $ORKPLACE Internet gateway and thus I can't possibly
see it or control it.  The FAQ suggests turning off anti-virus (2.8 My
computer hangs when I run Cygwin Setup!), but that is NOT permitted
(or even possible) for a user at $ORKPLACE.

-- 
Tim McDaniel, tmcd@panix.com

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

