delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/31/13:05:21

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=YJLWy1NCVrQ4cR54
KzfkKYTlez6tFRmgCeKTo18C+h5k50+EsG1VmYoRk7KY7nJLpYWp9b5kPAxpgje3
W8iTw/Zpv4HHWxo62IHn05D43Izbcfu/tAhTI0383HWTt/ALVXg2Eu4xEi/R4KeS
k7RECzm1W/4ilpco56APnCRv93g=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=otV/ueY1jVBCGVFsQdWfIu
kcyrE=; b=xQY8DReJgr/Mhu3HnArEhoLAVVxrTBf4WzTdMzDV3a90brPtZLhggL
AYlnazXvkYXBRCq/o5n5KAXUJm31e8zBALW+H4TeImUaULnFv6PLRa3vva+2yxBt
YRDrPvD0B+pTDSYhtOLwht6eqjHtaPbuMeCZJWVb3q3z+lvjNehX0=
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.7 required=5.0 tests=BAYES_05,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*M:yandex, terrible, HX-Priority:Normal
X-HELO: forward103j.mail.yandex.net
Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Sun, 31 Dec 2017 20:57:58 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <03203565.20171231205758@yandex.ru>
To: Amit Choudhary <ac7009064 AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Question regarding cygwin setup.
In-Reply-To: <CAPEO9VGg2P_PLc3ihD1RemLDBPLShiXr40h6au5jq1ytbFamqg@mail.gmail.com>
References: <CAPEO9VGg2P_PLc3ihD1RemLDBPLShiXr40h6au5jq1ytbFamqg AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Amit Choudhary!

> Hi,

> I have noticed that if cygwin setup is running and it is installing
> something then if the network connection goes away, then cygwin setup just
> goes back to 0% and starts all over again after network comes back (I have
> to start it again).

> So, if cygwin setup had completed 90% of installation and then network goes
> away then it goes back to 0%. So, all the bandwidth used for 90%
> installation went to waste and also the time to go till 90% installation
> went to waste.

That's not true.
All already downloaded packages will not be downloaded again.

> Is it possible that cygwin setup gets stuck on network rather than going
> back to 0% and start again when network connection comes back (Obviously
> cygwin setup should not be aborted in between).

Everything is possible. The question is, who would implement it? Are you volunteering?

> Normally, TCP connections stay alive for 2 hours before reset, so I guess
> cygwin setup can just block on the TCP socket / connection rather than
> going back to 0%.

Normally, any sane application will terminate socket way before that.


-- 
With best regards,
Andrey Repin
Sunday, December 31, 2017 20:56:19

Sorry for my terrible english...


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