From: Uncle George <gatgul@voicenet.com>
Subject: Re: accept()/TCP bug
Date: Wed, 14 Jan 1998 11:00:23 -0500 [thread overview]
Message-ID: <f6e51f73cb2afb569074db4c7fe45ab8.axp-list@archive.invalid> (raw)
thank you, too much cut & paste seemed to have cut off a missing >
pardon,
but,
it would seem from stevens, vol II, pg 524, "listen socket has queued connection"
should have been detected in the select(fd,... for "reading".
it appears that the SIGIO is initiated before the connection is complete, and appears
to also be sent before the skb buffers are "queued" ( tcp_input.c:tcp_conn_request()
).
It also appears from the similar code of accept(), it will also fail ( if
non-blocked) under these SIGIO conditions.
Would this not be a fair statement, and if so, what would it take to have SIGIO
signals in sync with queued connections, but not yet accept()'ed ( ie when
ack_backlog++ is appropriate).
> > > > adescriptor which I have listen()'d on for years. Wright/Stevens show that
> > > > select() for READ will detect 'listen socket has queued connection' (many
> > > > different UNIXs' man pages show this for select() or poll()).
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1998-01-14 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-14 16:00 Uncle George [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-01-14 11:58 accept()/TCP bug Uncle George
1998-01-13 13:20 Uncle George
1998-01-13 0:04 Uncle George
1998-01-12 18:09 Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox