[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Copas weirdness
- From: Alexander Gladysh <agladysh@...>
- Date: Wed, 6 Apr 2011 03:55:09 +0400
On Wed, Apr 6, 2011 at 01:40, David Given <dg@cowlark.com> wrote:
> On 05/04/11 21:26, Fabio Mascarenhas wrote:
> [...]
> However, handler() is the main function of the coroutine, so the
> coroutine will now terminate and return into the same _doTick() that had
> skt=clientsocket. _doTick() now correctly detects that the coroutine has
> terminated and tries to close the server socket. Unfortunately, it
> assumes that the last thing it blocked on was serversocket, so it just
> closes skt; which of course is the wrong socket.
Looks like it is the same bug that I reported back in 2009:
http://lists.luaforge.net/pipermail/kepler-project/2009-December/003875.html
Alexander.