Web lists-archives.com

Re: Git status delay

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