Wierd thing happening within our server environment.... Here's the scenario:
I have an Apache server hooked up to Tomcat for serving JSP pages.
There is a servlet that grabs a file for downloading, and sends the actual FileStream down to the end user.
I am monitoring when the download starts, end, and whether or not the download is aborted.
The code works fine... HOWEVER, I think the Apache config is incorrect in sending messages to Tomcat. Here's what happens:
A file gets requested by an end user.
The file starts downloading to the user. I can see the bytes being written out to a log file (log4j style).
IF THE USER ABORTS the download, APache acknowledges the abort request, but Tomcat CONTINUES TO SEND THE FILE. Tomcat is NOT receiving the termination request.