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 is sent, the HTTP request is over.
You're right. In this case because I'm dealing with the request in the
begin event and doing a sendfile the request won't be cometized. The
other case is where the verb is a put or a post at which point it will
be cometized. Yes I am doing a close on the event, it breaks really
horribly if you don't do this.
yes, even then you shouldn't do this using comet, just a regular
servlet, there is no reason for doing sendfile using comet, it makes
little sense, and I don't think it makes sense for us to support it either
Filip
Alex.
---------------------------------------------------------------------
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]