Author: mturk
Date: Thu Apr 17 06:36:16 2008
New Revision: 649092
URL: http://svn.apache.org/viewvc?rev=649092&view=rev
Log:
Fix 44832 by not using c++ style comments in C code
Modified:
tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?rev=649092&r1=649091&r2=649092&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Thu Apr 17
06:36:16 2008
@@ -2190,10 +2190,12 @@
/* This doesn't make sense, because we already set reuse */
/* to JK_FALSE at the beginning of service() and only set it to
true again after */
/* the whole response has beend received (callback
JK_AJP13_END_RESPONSE). */
-// if (aw->recovery_opts & RECOVER_ABORT_IF_CLIENTERROR) {
-// /* Mark the endpoint for shutdown */
-// p->reuse = JK_FALSE;
-// }
+#if 0
+ if (aw->recovery_opts & RECOVER_ABORT_IF_CLIENTERROR) {
+ /* Mark the endpoint for shutdown */
+ p->reuse = JK_FALSE;
+ }
+#endif
}
else if (err == JK_FATAL_ERROR) {
*is_error = JK_HTTP_SERVER_BUSY;
@@ -2228,10 +2230,12 @@
/* This doesn't make sense, because we already set reuse */
/* to JK_FALSE at the beginning of service() and only set it
to true again after */
/* the whole response has beend received (callback
JK_AJP13_END_RESPONSE). */
-// if (aw->recovery_opts & RECOVER_ABORT_IF_CLIENTERROR) {
-// /* Mark the endpoint for shutdown */
-// p->reuse = JK_FALSE;
-// }
+#if 0
+ if (aw->recovery_opts & RECOVER_ABORT_IF_CLIENTERROR) {
+ /* Mark the endpoint for shutdown */
+ p->reuse = JK_FALSE;
+ }
+#endif
}
else if (err == JK_CLIENT_WR_ERROR) {
/* XXX: Is this correct to log this as 200? */
@@ -2245,10 +2249,12 @@
/* This doesn't make sense, because we already set reuse */
/* to JK_FALSE at the beginning of service() and only set it
to true again after */
/* the whole response has beend received (callback
JK_AJP13_END_RESPONSE). */
-// if (aw->recovery_opts & RECOVER_ABORT_IF_CLIENTERROR) {
-// /* Mark the endpoint for shutdown */
-// p->reuse = JK_FALSE;
-// }
+#if 0
+ if (aw->recovery_opts & RECOVER_ABORT_IF_CLIENTERROR) {
+ /* Mark the endpoint for shutdown */
+ p->reuse = JK_FALSE;
+ }
+#endif
}
else if (err == JK_FATAL_ERROR) {
*is_error = JK_HTTP_SERVER_ERROR;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]