tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <>
Subject Re: APR and NIO
Date Sun, 02 Nov 2008 13:24:28 GMT
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

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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message