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:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=BXdfB1aMf45MV9Xm LTH4rseBDo8QXTIj/7xukUpwcOig4TQsJTy5jnujUiTakviIxMw+X6ptWVCzmHoz cHWcLEYwK30W6RSf5VXKXVw+tQeGH4YyiIUphiykmaRLSazCdaOJvRLIQunrZUXB EOqdWwBdCoXy1hKj9MH1n3GQomg= 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:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=u5V3uQtH99I6JIYYgxffQb IzlIk=; b=p0UY/8fc6ekecIYrF6M7N93zeApbbkSes0dkE8DJx3clfYF8qXJj+Y tLF9aXQEfNZBm4YgDezfewOzmoBax8hb0qwzvXVKNSMX1GG2RCgMiXXshFOTqCkv BmI5Cnz0vJWjJZXGYLxMj5vYLSadwy07xXAFgZCDSQiHMSZ/KVJnA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=cyg, noticeable, belief, HContent-Transfer-Encoding:8bit X-HELO: mail-it0-f50.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:reply-to:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aqWeWNA5Hyko6DSYStzX8Entd4qSO2w8Wh24msFmi0w=; b=Nv1gv68wTflHkheFCHiFRcpFGmRndy66GpBv/wxx9sJFnUDVVM6YrmzNL6Or6Bx1cQ MbtEBR0x4zARfN0vAuv71g/goOel23ja0xIK5fdw2jIBR9nKhDdCAgVbeX+wMEIeiQhJ yj7XxQL+c0oR5TrtRoT8bPvzV4FVwX/IfpLIDdNu22/LA3QtrEKDrPJyN1l9zEUXQHgN /U24ng4Cw1/VrZeOcYBAW5RKGm/fhLt0OW9kuhjAoLWUcPKRgTnFGVHbcSJbkpwHDz5R EI1J0g8ZvcvZYloND7UCiJUM69ndhyPrymXCrVPGxTjNNK/5kxyCO3H8Ve0MBG07NDoV l3jA== X-Gm-Message-State: AKGB3mIdL7+6emLYJ01eNnM7Ht564DJIwYZsxPwOt9T5JK2blfSJetxT mFZooBwpNS/Wi/G3+ArXM8QCkw== X-Google-Smtp-Source: ACJfBouQvnY07vFszYfgXFHo5ZwcBRfvbYnLJYgG8xtrul1mCsgjFiQohBl/rkmL+QilPlCBqJicbQ== X-Received: by 10.107.139.18 with SMTP id n18mr6629771iod.193.1513094778320; Tue, 12 Dec 2017 08:06:18 -0800 (PST) Subject: Re: Git status delay To: cygwin AT cygwin DOT com References: <092c4159-1f86-a64a-6ae1-c9909ef4ef90 AT gmail DOT com> <20171121102728 DOT GM20681 AT dinwoodie DOT org> <1867005492 DOT 20171126014157 AT volny DOT cz> Reply-To: cygwin AT cygwin DOT com From: cyg Simple Message-ID: <058fa29c-b4bc-94db-91d3-895fd283864e@gmail.com> Date: Tue, 12 Dec 2017 11:06:19 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 12/11/2017 5:04 PM, Richard H Lee wrote: > > So if you lstat("//HEAD") and you are on a network that does DNS > hijacking, Cygwin will attempt to connect to the ISP's server via SMB. > As the ISP's server is a publicly facing IP address, it probably just > black holes any incoming connection requests. So instead of receiving an > immediate connection refusal, the TCP connection request just times out. > This timeout was the cause of the delay. > I'm of the belief that instead of DNS hijacking as you suppose this is related to the Windows OS timeout values for servers referenced by \\SERVER which in this case is \\HEAD. The timeout values can be adjusted but 30 seconds is the default value which is noticeable. -- cyg Simple -- 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