From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4900 invoked by alias); 21 Feb 2011 14:02:01 -0000 Received: (qmail 4851 invoked by uid 22791); 21 Feb 2011 14:01:49 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Mon, 21 Feb 2011 14:01:44 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id DAD1F2C017B; Mon, 21 Feb 2011 15:01:40 +0100 (CET) Date: Mon, 21 Feb 2011 14:02:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Spurious "Connection reset by peer" problems anybody? Message-ID: <20110221140140.GD17868@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20110221104352.GA17868@calimero.vinschen.de> <4D626D65.3060408@cornell.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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-02/txt/msg00460.txt.bz2 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