Re: close() failing with ECONNRESET

2010-06-09 Thread Mikolaj Golub
On Wed, 9 Jun 2010 12:45:52 +0300 Kostik Belousov wrote: KB> On Wed, Jun 09, 2010 at 12:35:11AM -0700, per...@pluto.rain.com wrote: >> Timo Sirainen wrote: >> >> > I see that since FreeBSD 6.3 close() can fail with: >> > >> > > [ECONNRESET]The underlying object was a stream socket

Re: close() failing with ECONNRESET

2010-06-09 Thread Kostik Belousov
On Wed, Jun 09, 2010 at 12:35:11AM -0700, per...@pluto.rain.com wrote: > Timo Sirainen wrote: > > > I see that since FreeBSD 6.3 close() can fail with: > > > > > [ECONNRESET] The underlying object was a stream socket that was > > > shut down by the peer before all pending data was

Re: close() failing with ECONNRESET

2010-06-09 Thread perryh
Timo Sirainen wrote: > I see that since FreeBSD 6.3 close() can fail with: > > > [ECONNRESET]The underlying object was a stream socket that was > > shut down by the peer before all pending data was > > delivered. > > Could someone explain what this is useful for?

close() failing with ECONNRESET

2010-06-08 Thread Timo Sirainen
I see that since FreeBSD 6.3 close() can fail with: > [ECONNRESET] The underlying object was a stream socket that was > shut down by the peer before all pending data was > delivered. Could someone explain what this is useful for? I'm not aware of any other OS that doe