tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/apache-1.3 mod_jk.c
Date Sat, 26 Mar 2005 09:37:24 GMT
mturk       2005/03/26 01:37:24

  Modified:    jk/native/apache-1.3 mod_jk.c
  Log:
  Do not abort the connection if request is invalid, so that client receives
  apache http error code, instead just dropping connection.
  
  Revision  Changes    Path
  1.76      +4 -3      jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- mod_jk.c	18 Mar 2005 08:13:54 -0000	1.75
  +++ mod_jk.c	26 Mar 2005 09:37:24 -0000	1.76
  @@ -1793,12 +1793,13 @@
                   return OK;      /* NOT r->status, even if it has changed. */
               }
               else if (rc == JK_CLIENT_ERROR) {
  -                r->connection->aborted = 1;
  +                if (is_error != HTTP_REQUEST_ENTITY_TOO_LARGE)
  +                    r->connection->aborted = 1;
                   jk_log(l, JK_LOG_INFO, "Aborting connection"
                          " for worker=%s",
                          worker_name);
                   JK_TRACE_EXIT(l);
  -                return OK;
  +                return is_error;
               }
               else {
                   jk_log(l, JK_LOG_INFO, "Service error=%d"
  
  
  

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


Mime
View raw message