X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:cc:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=BAWpyDxIkCyxZXa3
	yglWRgpkTrLEIDVnV9fKvfuXZYT6wnvvDgGflWzxGWgrWpvrpVBa44bSYPxKjAjR
	k/Q3Aec/9a1KZDLISLwYCJTskOyBJPUshlGaWIe9+wL9EigvTYhqIH5jHJ/EeSda
	sJq8mcQa2LTB4j/XipljgrMeXD4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:cc:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=sHs8Cuvu+18+Qf5Ah8pIUk
	cE9LM=; b=DKRPRVoN6miKSaOG5Qe5Egoo0vUJayGdOAsiMZl6+qaOAhNBwPUoNn
	AeQSNfeioPaa6pSFv41Vu1qG1R5+njt3XxuQXUv08DL9LO5Y7PWsx2Sij7arxba1
	w8T5LBm6i3ieiIAAH5/xVMi9u5XI9x2k79D+2sL3OrYHxDMF7rfFU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,KAM_EXEURI,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=sk:setup2, UD:x86.exe, UD:x86_64.exe, sk:setup-2
X-HELO: out2-smtp.messagingengine.com
X-ME-Sender: <xms:K5IdWcKmTpfbcZ9KGNT2a7rGmgu2_3MiKo09oBSMgv0FPOwShjifUQ>
Subject: Re: setup 2.878 only processes one site
To: cygwin@cygwin.com
References: <dbb0d48f-e602-f202-6573-2d900728d091@acm.org> <7d6dc5d3-e368-a513-d04b-58410da7152b@dronecode.org.uk> <f2f46c8a-b634-aba4-c852-1d389be7a5dd@acm.org> <157e3495-e031-0637-faf9-1d0813ece56d@dronecode.org.uk> <fbf93978-1431-8994-d137-090e16e4c71f@acm.org>
From: Jon Turney <jon.turney@dronecode.org.uk>
Cc: David Rothenberger <daveroth@acm.org>
Message-ID: <4e36141b-c287-35ea-39e0-227e4353c25c@dronecode.org.uk>
Date: Thu, 18 May 2017 13:23:00 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <fbf93978-1431-8994-d137-090e16e4c71f@acm.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 17/05/2017 21:45, David Rothenberger wrote:
> Jon Turney wrote:
>> On 17/05/2017 18:06, David Rothenberger wrote:
>>> Jon Turney wrote:
>>>> On 17/05/17 00:14, David Rothenberger wrote:
>>>>> When I use the new Direct Connection option in setup 2.878, it appears
>>>>> that setup only downloads the setup.xz file from one of the three
>>>>> sites
>>>>> I have selected.
>>>>
>>>> Something which might give this impression is that setup will now
>>>> cache setup.xz, and only download it if it has changed.
>>>
>>> I think you nailed it. I tried again this morning and the first time I
>>> ran setup, it did contact our local site, but it did not on subsequent
>>> runs (even to see if the file has changed). I then modified our web
>>
>> This would be very bad, if true.  Are you sure that we aren't
>> contacting the server at all? (such requests might not be logged in
>> some configurations)
>
> Yes, I'm sure. I verified our web server logs requests with the
> If-Modified-Since header. Also, I used wireshark to confirm there was no
> request at all to our web server.

Hmm... In my testing I saw requests with If-Modified-Since: and 
If-None-Match: headers being sent and a 304 Not Modified response being 
sent.

I added INTERNET_FLAG_RESYNCHRONIZE, which looks like it might be needed 
to do the right thing if the server doesn't send an ETag header, and 
made another build.

https://cygwin.com/setup/setup-2.878-4-g582a35.x86.exe
https://cygwin.com/setup/setup-2.878-4-g582a35.x86_64.exe

Perhaps you could try that and see if it improves things?


--
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

