tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 jk_service_apache2.c
Date Tue, 24 Feb 2004 15:51:23 GMT
hgomez      2004/02/24 07:51:23

  Modified:    jk/native2/server/apache2 jk_service_apache2.c
  Log:
  Should fix problem fix mod_deflate and jk2
  
  Revision  Changes    Path
  1.41      +5 -1      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.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- jk_service_apache2.c	24 Feb 2004 08:44:42 -0000	1.40
  +++ jk_service_apache2.c	24 Feb 2004 15:51:23 -0000	1.41
  @@ -107,6 +107,10 @@
               /* XXX should be done in handler ! */
               char *tmp = apr_pstrdup(r->pool, val);
               ap_content_type_tolower(tmp); 
  +            /* It should be done like this in Apache 2.0 */
  +            /* This way, Apache 2.0 will be able to set the output filter */
  +            /* and it make jk useable with deflate using AddOutputFilterByType DEFLATE
text/html */
  +            ap_set_content_type(r, tmp);
               r->content_type = tmp;
               apr_table_set(r->headers_out, name, val);
           } else if(!strcasecmp(name, "Location")) {
  
  
  

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