DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27884>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27884 mod_jk2 making multiple requests when client cancels the load of the page ------- Additional Comments From [EMAIL PROTECTED] 2004-03-24 14:19 ------- I am using the release version 2.0.2 right now. Is there a binary version of 2.04 that I can download from someplace. I can test out if this fixes this issue. From what I have seen of the 2.0.2 code, I felt that the following line has an issue: jk_worker_ajp13.c: #define JK_RETRIES 2 static int JK_METHOD jk2_worker_ajp13_forwardStream(jk_env_t *env, jk_worker_t *worker, jk_ws_service_t *s, jk_endpoint_t *e ) { int err=JK_OK; int attempt; int has_post_body=JK_FALSE; jk_channel_t *channel= worker->channel; e->recoverable = JK_TRUE; s->is_recoverable_error = JK_TRUE; /* * Try to send the request on a valid endpoint. If one endpoint * fails, close the channel and try again ( maybe tomcat was restarted ) * * XXX JK_RETRIES could be replaced by the number of workers in * a load-balancing configuration */ for(attempt = 0 ; attempt < JK_RETRIES ;attempt++) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
