[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#123252: libc6: close does not work on sockets with pending aio



On Mon, Dec 10, 2001 at 01:37:13PM +0200, Jussi.Lahdenniemi@ionific.com wrote:
> Package: libc6
> Version: 2.2.4-7
> Severity: normal
> 
> If aio_read has been called for a socket and then closing the socket
> is attempted with close, close succeeds (returns zero), but the connection
> is not really closed until the remote end sends something completing the
> pending aio_read. aio_cancel returns AIO_NOTCANCELED and does not do anything.
> 
> This is a problem in server applications: If the server is implemented in
> such a way that it always listens for incoming data, it cannot close the
> connection.

  Is this still the case ? if yes, could you provide some kind of way to
reproduce the problem ?

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpN6iRB0c4RH.pgp
Description: PGP signature


Reply to: