Bug#123252: libc6: close does not work on sockets with pending aio
Hello!
Pierre HABOUZIT wrote:
> 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 ?
I don't know whether this still is the case or not - I haven't been
working with this piece of software for five years ro so...
--
Jussi Lahdenniemi, Ionific Ltd jussi.lahdenniemi@ionific.com
Hermiankatu 12 B tel +358-50-5911448
33720 Tampere fax +358-3-3186100
Finland http://www.ionific.com/
Reply to: