delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/18/17:16:23

X-Recipient: archive-cygwin AT delorie DOT 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:cc:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Xv2QOSIo/jDlNhN+
+JCV0c/c48AbXdZgYDBN0NNOORNWgMydsCoZElTNVgUAf2Njh6GCoAtH14HnhHpB
yuu3mSd1pEW9fmheSqGH4oww9cQwqwJEfY5U3DBTy7UKEPf1dKTpyzio1X0xGCQa
pl3P3jMBH79fo2dyzGdR/VEWgHo=
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:cc:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=7nOynZzPteumKyKAap8vMf
g8jlQ=; b=HEjjJl/n5SQt0nJjFoHmMbay4i8BPifU7jJBS8egcIi08J8iQTmWNj
2EoG0tTUIa5+j1N0H+PiFULMPWKEsECX4lkIU4DS7/1iRYeHnT+V1S0gNAY0c+lv
S8uIv4TV6RmajBp29UiOJ+q87UhLCo3KooB/eCbuTlw7MfSzpf2As=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,KAM_EXEURI,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Settings, contacting, morning, our
X-HELO: out1-smtp.messagingengine.com
X-ME-Sender: <xms:EQ8eWYzoQigdA7vAkscnLFj3SmD9u_1AZyJ4VCkThmeHmhj_470OlQ>
Subject: Re: setup 2.878 only processes one site
To: cygwin AT cygwin DOT com
References: <dbb0d48f-e602-f202-6573-2d900728d091 AT acm DOT org> <7d6dc5d3-e368-a513-d04b-58410da7152b AT dronecode DOT org DOT uk> <f2f46c8a-b634-aba4-c852-1d389be7a5dd AT acm DOT org> <157e3495-e031-0637-faf9-1d0813ece56d AT dronecode DOT org DOT uk> <fbf93978-1431-8994-d137-090e16e4c71f AT acm DOT org> <4e36141b-c287-35ea-39e0-227e4353c25c AT dronecode DOT org DOT uk> <e2d5badd-6eac-bd13-77b3-c66cbd40d149 AT acm DOT org>
Cc: David Rothenberger <daveroth AT acm DOT org>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <b2ced499-a824-8d87-e483-70170bc21f36@dronecode.org.uk>
Date: Thu, 18 May 2017 22:15:54 +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: <e2d5badd-6eac-bd13-77b3-c66cbd40d149@acm.org>

On 18/05/2017 18:04, David Rothenberger wrote:
> Jon Turney wrote:
>> 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.
>
> My server does send the ETag header. I'm using Apache 2.4.

Well, I still don't know what's going on, then. :)

fwiw, I did some testing with an apache configured with 'FileETag None' 
and saw the the behaviour you described (doesn't even contact the 
server), so this flag is definitely needed.

>> 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?
>
> The problem is indeed fixed with these builds. Thanks!

Great.  Thanks for testing.  I'll do a 2.879 with those changes.

And thank you for drawing attention to this problem.  I looks like it's 
probably existed since forever in ""Use Internet Explorer Proxy 
Settings" mode.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019