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/native2/common jk_uriEnv.c
Date Fri, 04 Oct 2002 16:13:15 GMT
mturk       2002/10/04 09:13:15

  Modified:    jk/native2/common jk_uriEnv.c
  Log:
  Compute the suffix_len for the extracted suffix.
  
  Revision  Changes    Path
  1.37      +2 -0      jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c
  
  Index: jk_uriEnv.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- jk_uriEnv.c	3 Oct 2002 01:33:14 -0000	1.36
  +++ jk_uriEnv.c	4 Oct 2002 16:13:15 -0000	1.37
  @@ -335,6 +335,7 @@
               uriEnv->prefix      = uri;
               uriEnv->prefix_len  =strlen( uriEnv->prefix );
               uriEnv->suffix      = asterisk + 3;
  +            uriEnv->suffix_len  = strlen(asterisk + 3);
               uriEnv->match_type  = MATCH_TYPE_SUFFIX;
               if( uriEnv->mbean->debug > 0 ) {
                   env->l->jkLog(env, env->l, JK_LOG_DEBUG,
  @@ -345,6 +346,7 @@
               /* general suffix rule /context/prefix/ASTERISKextraData */
               asterisk[1] = '\0';
               uriEnv->suffix  = asterisk + 2;
  +            uriEnv->suffix_len  = strlen(asterisk + 2);
               uriEnv->prefix  = uri;
               uriEnv->prefix_len  =strlen( uriEnv->prefix );
               uriEnv->match_type = MATCH_TYPE_GENERAL_SUFFIX;
  
  
  

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


Mime
View raw message