You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2010/02/22 23:02:52 UTC
svn commit: r915085 - /tomcat/jk/trunk/native/common/jk_ajp_common.c
Author: rjung
Date: Mon Feb 22 22:02:52 2010
New Revision: 915085
URL: http://svn.apache.org/viewvc?rev=915085&view=rev
Log:
Don't use the endpoint connection if the new
no-reuse hardening triggers.
If we don't find a connected endpoint, the next
loop is responsible for chosing any not connected
endpoint.
Modified:
tomcat/jk/trunk/native/common/jk_ajp_common.c
Modified: tomcat/jk/trunk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_ajp_common.c?rev=915085&r1=915084&r2=915085&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_ajp_common.c (original)
+++ tomcat/jk/trunk/native/common/jk_ajp_common.c Mon Feb 22 22:02:52 2010
@@ -3043,8 +3043,8 @@
for (slot = 0; slot < aw->ep_cache_sz; slot++) {
if (aw->ep_cache[slot] &&
IS_VALID_SOCKET(aw->ep_cache[slot]->sd)) {
- ae = aw->ep_cache[slot];
if (ae->reuse) {
+ ae = aw->ep_cache[slot];
aw->ep_cache[slot] = NULL;
break;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org