httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: SAFE_UNSERIALIZED_ACCEPT
Date Mon, 18 Aug 1997 03:59:12 GMT
On Sun, 17 Aug 1997, Dean Gaudet wrote:

> Is it on by default?  I'm wondering about the interaction of select() and
> accept() on the same socket, same time, different pids.  That's why linux
> doesn't have it yet, nobody has done the thinkwork.

Yes, it is on by default.  I haven't really looked into the issue above;
it is possible that accept and select end up in different channels and the
wakeup_one only applies to the accept one, but that doesn't sound too
reasonable.

> 
> Dean
> 
> On Sun, 17 Aug 1997, Marc Slemko wrote:
> 
> > On Sun, 17 Aug 1997, Randy Terbush wrote:
> > 
> > > > I'd say try it on a real OS where all the children aren't woken up.  Like
> > > > recent FreeBSD.  <g>
> > > 
> > > How recent? Is that -current code?
> > 
> > 3.0 tree as of rev 1.23 on 1997/03/31, 2.2 tree as of rev 1.16.2.2 on
> > 1997/04/03.
> > 
> > Look for wakeup_one in sys/kern/uipc_socket2.c (in a function like
> > soisconnected or something like that).
> > 
> > 
> 


Mime
View raw message