The async close is important to 'long-polling' which is what bayuex does.
if you have 20 second timeout, there is a chance that the client could
reuse the connection after it has received the 'end chunk' (0) from the
server, and sends a new request.
if there is no async close support, then the server will take the new
request and generate a READ event in the old request space.
that's why I wanted the hooks in there for async-close support
Filip
Remy Maucherat wrote:
On Tue, 2008-10-28 at 18:56 -0600, Filip Hanik - Dev Lists wrote:
in trunk there is one difference, NIO allows async CometEvent.close, APR
has the hooks in place, but I haven't dared to dig into the poller code yet.
that's the only thing I can think of right now.
I only wanted to see something running, so nio works. Looking in the
logs I see the not implemented exception on setTimeout. More mundane
than an async close or something, I suppose.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]