Re: Potential problem with COMET & sendfile

2008-05-21 Thread Alex Barclay
Filip Hanik - Dev Lists wrote: I don't see any use case for Comet+sendfile make sense. but if you do it, you should ... set your sendfile stuff call CometEvent.close() . ie, the event shouldn't be cometized when doing sendfile, it makes zero sense since when the file is sent, the HTTP req

Re: Potential problem with COMET & sendfile

2008-05-21 Thread Alex Barclay
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 "wai

Potential problem with COMET & sendfile

2008-05-20 Thread Alex Barclay
Hi all I'm investigating a potential problem that I'm having with tomcat 6.0.x (head of the svn tree). I have written a fileserver servlet. This servlet works mostly fine with the NIO connector, except for problems with Sun's DirectBuffer implementation but that's another story. The issue