From: John R. <jt...@zl...> - 2001-09-07 17:20:24
|
> If you're sending a large or slow document, is there any way to detect > that the browser on the other side has aborted the download > prematurely, as soon as it happens? I.e. you're streaming a 1.7 > zillobyte file, user hits escape after 10 bytes, can you abort the > send to save on resources? It's possible to detect this condition in ThreadedAppServer.TASASStreamOut.flush -- EPIPE is thrown by the socket.send. It's currently caught and ignored. Could this information be returned, or stored in HTTPResponse state, or something? |