Re: Potential problem with COMET & sendfile

2008-05-21 Thread Filip Hanik - Dev Lists
Alex Barclay wrote: 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

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 Filip Hanik - Dev Lists
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 request is over. Filip Alex Barc

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 "wait" call, rather tha

Re: Potential problem with COMET & sendfile

2008-05-21 Thread Remy Maucherat
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.