From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68030 invoked by alias); 1 May 2017 20:45:51 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 68013 invoked by uid 89); 1 May 2017 20:45:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Close, Hx-languages-length:1129, forever, Hx-spam-relays-external:ESMTPA X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 May 2017 20:45:48 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7674C2096F; Mon, 1 May 2017 16:45:49 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 01 May 2017 16:45:49 -0400 X-ME-Sender: Received: from [192.168.1.102] (host31-51-207-210.range31-51.btcentralplus.com [31.51.207.210]) by mail.messagingengine.com (Postfix) with ESMTPA id 01CFF7E21C; Mon, 1 May 2017 16:45:48 -0400 (EDT) Subject: Re: [PATCH setup 11/11] Use wininet for fetching URLs in direct (non-proxy) case (DO NOT APPLY) References: <20170428121205.12240-1-jon.turney@dronecode.org.uk> <20170428121205.12240-12-jon.turney@dronecode.org.uk> <3d79b33e-e067-c1df-9b90-084fb10dd272@dronecode.org.uk> <9452ab7f-986c-2394-8c24-6208e042787e@dronecode.org.uk> To: cygwin-apps@cygwin.com Cc: =?UTF-8?Q?=c3=85ke_Rehnman?= From: Jon Turney Message-ID: <506da115-b976-fdb2-bf1b-cec6addfbbbb@dronecode.org.uk> Date: Mon, 01 May 2017 20:45:00 -0000 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: Content-Type: multipart/mixed; boundary="------------AC18780E06E6B157E9B8A857" X-SW-Source: 2017-05/txt/msg00007.txt.bz2 This is a multi-part message in MIME format. --------------AC18780E06E6B157E9B8A857 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-length: 509 On 01/05/2017 16:30, Åke Rehnman wrote: > Hello, > > I tested with my repo and it seem to fail if there is no setup.xz but > only setup.ini. It does quickly realize there are no setup.xz and > setup.xz.sig but then it takes forever to get past setup.bz2 etc and > fails to download setup.ini > > These tests were done with -X flag. Thanks very much for testing this. It seems this could be an existing bug which could have been triggered the proxy case. The attached incremental patch fixed this for me. --------------AC18780E06E6B157E9B8A857 Content-Type: text/plain; charset=UTF-8; name="0001-Close-rather-than-leak-InternetOpenUrl-handles-with-.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="0001-Close-rather-than-leak-InternetOpenUrl-handles-with-.pa"; filename*1="tch" Content-length: 777 RnJvbSBhMzBkYWIzZjhjOTA4MWQ5MjJiNzI4NzgwMWI4ODIwMDEwNzdkZGVi IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKb24gVHVybmV5IDxq b24udHVybmV5QGRyb25lY29kZS5vcmcudWs+CkRhdGU6IE1vbiwgMSBNYXkg MjAxNyAyMTo0MDo0MCArMDEwMApTdWJqZWN0OiBbUEFUQ0ggc2V0dXBdIENs b3NlIHJhdGhlciB0aGFuIGxlYWsgSW50ZXJuZXRPcGVuVXJsKCkgaGFuZGxl cyB3aXRoCiBlcnJvcnMKCi0tLQogbmlvLWllNS5jYyB8IDEgKwogMSBmaWxl IGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspCgpkaWZmIC0tZ2l0IGEvbmlvLWll NS5jYyBiL25pby1pZTUuY2MKaW5kZXggMzM3NWMwNC4uYmExOWZmYSAxMDA2 NDQKLS0tIGEvbmlvLWllNS5jYworKysgYi9uaW8taWU1LmNjCkBAIC0xMjIs NiArMTIyLDcgQEAgdHJ5X2FnYWluOgogCSAgICB9CiAJICBlbHNlIGlmICh0 eXBlID49IDMwMCkKIAkgICAgeworCSAgICAgIEludGVybmV0Q2xvc2VIYW5k bGUgKGNvbm5lY3Rpb24pOwogCSAgICAgIGNvbm5lY3Rpb24gPSAwOwogCSAg ICAgIHJldHVybjsKIAkgICAgfQotLSAKMi4xMi4yCgo= --------------AC18780E06E6B157E9B8A857--