I came across this thread
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
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.