glenn 2003/03/14 05:36:35
Modified: jk/native CHANGES.txt
jk/native/apache-2.0 mod_jk.c
jk/native/common jk_ajp_common.c jk_ajp_common.h
Log:
Traced through the code to clean up error handling for when a client
aborts a request.
* The retry loop would continue to retry processing the request even
if the client aborted. Fixed this.
* If the client aborts set the aborted flag in the conn_rec
* If the handler is invoked and the conn_rec aborted flag is set
return an HTTP_INTERNAL_SERVER_ERROR instead of processing a
request for an aborted client.
* Setting the conn_rec aborted flag and checking it prevents mod_jk
from passing on a request to Tomcat for processing when the
client has aborted the connection. An HTML page could use SSI to
invoke multiple servlet's or JSP pages during a single request.
There is no need to continue processing these if the client has
aborted the connection.
There was a bug in get_content_length() which would cause a SSI of
a page which gets procesed by Tomcat to fail if the original client
request was a POST.
Cleaned up and reformatted code to 80 columns in source code files
I worked on.
Great work (applause)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]