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

Bug#123252: marked as done (libc6: close does not work on sockets with pending aio)



Your message dated Sun, 22 Apr 2007 00:19:35 +0200
with message-id <20070421221935.GA21688@volta.aurel32.net>
and subject line libc6: close does not work on sockets with pending aio
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux dwim 2.4.6 #1 SMP Fri Jul 20 14:09:46 EEST 2001 i686
Locale: LANG=C, LC_CTYPE=C



--- End Message ---
--- Begin Message ---
On Thu, Mar 01, 2007 at 10:06:17AM +0200, Jussi Lahdenniemi wrote:
> 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...
> 

Ok, I am therefore closing the bug. Please feel free to reopen it if you
can reproduce it with a recent version of the glibc.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: