On Mon, Feb 12, 2001 at 09:56:26AM -0800, Archie Cobbs wrote: > Kris Kennaway writes: > > Did you guys agree on a commit-worthy fix yet? > > I wasn't party to the issue that generated this thread in the first > place, but.. I think the concensus is that if accept(2) returns > an error then this will break some applications, so instead it > should return a socket which will itself return an error on the > first operation. Somebody correct me if I'm wrong. No, as this is the current behavior. The change will be for accept to return an error, on the basis that 1) most apps already do the wrong thing now anyway, and 2) it brings us closer to a 'standard', e.g.: what other systems are doing as well. I was planning on committing the change soon, but there isn't really any hurry; effectively all it does is change the mechanism of error reporting from one form to another. -- Jonathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST ri... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with t... David Greenman
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Robert Watson
- Re: [itojun@iijlab.net: accept(2) behavior with t... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior with t... Arjan de Vet
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon
- RE: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Graehl
- RE: [itojun@iijlab.net: accept(2) behavior with t... Jonathan Graehl
- Re: [itojun@iijlab.net: accept(2) behavior with tcp R... Jonathan Lemon