tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r562129 - /tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c
Date Thu, 02 Aug 2007 14:43:09 GMT
Author: rjung
Date: Thu Aug  2 07:43:08 2007
New Revision: 562129

URL: http://svn.apache.org/viewvc?view=rev&rev=562129
Log:
Add correct plugin return when service ends with an error.

Modified:
    tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c

Modified: tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c?view=diff&rev=562129&r1=562128&r2=562129
==============================================================================
--- tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/netscape/jk_nsapi_plugin.c Thu Aug  2 07:43:08 2007
@@ -387,11 +387,14 @@
                                "service() returned OK");
                 }
                 else {
+                    protocol_status(sn, rq, is_error, NULL);
                     if ((result == JK_CLIENT_ERROR) && (is_error == JK_HTTP_OK))
{
+                        rc = REQ_EXIT;
                         jk_log(logger, JK_LOG_INFO,
                                "service() failed because client aborted connection");
                     }
                     else {
+                        rc = REQ_ABORTED;
                         jk_log(logger, JK_LOG_ERROR,
                                "service() failed with http error %d", is_error);
                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message