Greetings,

I came across this thread

http://sourceforge.net/mailarchive/message.php?msg_id=2689827

in the list archive. The way I read this, it indicates there was some work
planned to enable a trap on flush() when the client http request was
cancelled so that the servlet could know if it should abort its current
task.

Did this ever happen and if so, how does one make use of it?

In looking at ThreadedAppServer.py, TASASStreamOut.flush() (referenced in
the above message) it doesn't look like there is any return code or
exception propagated up the stack.

Basically, I need to be able to detect if the http client has cancelled a
pending request, either by trapping an exception raised by
response.flush() or by testing some variable, method call, etc. so that I
can cancel a long running database operation.

Thanks,

brett






-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to