tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 jk_service_apache2.c
Date Sun, 24 Mar 2002 19:22:19 GMT
costin      02/03/24 11:22:19

  Modified:    jk/native2/server/apache13 jk_service_apache13.c
               jk/native2/server/apache2 jk_service_apache2.c
  Log:
  Fix - the headers are dumped for debugging, but only the first time.
  
  Revision  Changes    Path
  1.3       +11 -13    jakarta-tomcat-connectors/jk/native2/server/apache13/jk_service_apache13.c
  
  Index: jk_service_apache13.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache13/jk_service_apache13.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jk_service_apache13.c	19 Mar 2002 04:55:57 -0000	1.2
  +++ jk_service_apache13.c	24 Mar 2002 19:22:19 -0000	1.3
  @@ -219,19 +219,17 @@
                   if(!s->head(env, s)) {
                       return JK_FALSE;
                   }
  -            }
  -
  -            
  -            {
  -                array_header *t = ap_table_elts(rr->headers_out);
  -                if(t && t->nelts) {
  -                    int i;
  -                    
  -                    table_entry *elts = (table_entry *)t->elts;
  -
  -                    for(i = 0 ; i < t->nelts ; i++) {
  -                        env->l->jkLog(env, env->l, JK_LOG_INFO, "OutHeaders %s:
%s\n",
  -                                      elts[i].key, elts[i].val);
  +                {
  +                    array_header *t = ap_table_elts(rr->headers_out);
  +                    if(t && t->nelts) {
  +                        int i;
  +                        
  +                        table_entry *elts = (table_entry *)t->elts;
  +                        
  +                        for(i = 0 ; i < t->nelts ; i++) {
  +                            env->l->jkLog(env, env->l, JK_LOG_INFO, "OutHeaders
%s: %s\n",
  +                                          elts[i].key, elts[i].val);
  +                        }
                       }
                   }
               }
  
  
  
  1.13      +12 -12    jakarta-tomcat-connectors/jk/native2/server/apache2/jk_service_apache2.c
  
  Index: jk_service_apache2.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/jk_service_apache2.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- jk_service_apache2.c	18 Mar 2002 18:46:27 -0000	1.12
  +++ jk_service_apache2.c	24 Mar 2002 19:22:19 -0000	1.13
  @@ -59,7 +59,7 @@
    * Description: Apache 2 plugin for Jakarta/Tomcat                         
    * Author:      Gal Shachor <shachor@il.ibm.com>                           
    *                 Henri Gomez <hgomez@slib.fr>                            
  - * Version:     $Revision: 1.12 $                                           
  + * Version:     $Revision: 1.13 $                                           
    */
   
   #include "apu_compat.h"
  @@ -257,18 +257,18 @@
                   if(!s->head(env, s)) {
                       return JK_FALSE;
                   }
  -            }
   
  -            {
  -                const apr_array_header_t *t = apr_table_elts(rr->headers_out);
  -                if(t && t->nelts) {
  -                    int i;
  -                    
  -                    apr_table_entry_t *elts = (apr_table_entry_t *)t->elts;
  -
  -                    for(i = 0 ; i < t->nelts ; i++) {
  -                        env->l->jkLog(env, env->l, JK_LOG_INFO, "OutHeaders %s:
%s\n",
  -                                      elts[i].key, elts[i].val);
  +                {
  +                    const apr_array_header_t *t = apr_table_elts(rr->headers_out);
  +                    if(t && t->nelts) {
  +                        int i;
  +                        
  +                        apr_table_entry_t *elts = (apr_table_entry_t *)t->elts;
  +                        
  +                        for(i = 0 ; i < t->nelts ; i++) {
  +                            env->l->jkLog(env, env->l, JK_LOG_INFO, "OutHeaders
%s: %s\n",
  +                                          elts[i].key, elts[i].val);
  +                        }
                       }
                   }
               }
  
  
  

--
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