X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 21 Feb 2011 15:01:40 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Spurious "Connection reset by peer" problems anybody? Message-ID: <20110221140140.GD17868@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20110221104352 DOT GA17868 AT calimero DOT vinschen DOT de> <4D626D65 DOT 3060408 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4D626D65.3060408@cornell.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Feb 21 08:49, Ken Brown wrote: > On 2/21/2011 5:43 AM, Corinna Vinschen wrote: > >Hi listies, > > > > > >over the weekend I came across a description of a Windows socket problem > >which might affect some of us. Fortunately I also came across the > >potential solution. > > > >My question is, does anybody have a scenario in which he or she > >encounters weird "Connection reset by peer" or "Software caused > >connection abort" messages in Cygwin, possibly at the end of a > >connection attempt? > > > >If so, I might have a solution for this problem. The code exists, but > >personally I don't have any such problem, so I can't test if it helps, > >and I'm reluctant to apply this to Cygwin without need. > > > >Therefore I need a guinea pig for this change. Any takers? > > I have one situation in which I often get a "Software caused > connection abort" message. I'll be glad to test your change. I spoke too soon. Just five minutes ago it turned out that this ostensible solution I fetched from MSDN does not work for Cygwin, because it breaks typical server scenarios which involve duplicating sockets via fork with subsequent closing the socket in the parent process. Sorry, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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