Remy Maucherat wrote:
On Tue, 2008-05-20 at 15:40 -0700, Alex Barclay wrote:
This works fine in the small. Here's what I'm seeing inside the tomcat
code. I was clued into this by not being able to find my socket (being
kept alive) because all of the pollers were on a "wait" call, rather
than on a "poll" call.
No need to write a novel to expose a simple problem. BTW, Comet +
sendfile is not tested at all, so it is possible it won't work right.
The issue you're seeing is that at the end of sendfile it does a
processSocket(state.socket) rather than add back to the poller (which is
the normal procedure at the end of processing many other requests).
It's getting tested now ;-)
I've found a couple of bugs so far. I'll have patches by the end of the
week.
In our application we're using this for our main file server, sending
files up to 10MB in length, so this is showing up lots of interesting
behavior.
Alex.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]