httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Wed, 18 Jul 2001 19:52:40 GMT
dougm       01/07/18 12:52:40

  Modified:    modules/http http_protocol.c
  Log:
  only reset request level filters in reset_filters(), else for example
  TLSFilter gets wiped out, breaking any response that comes through ap_die
  (including the frequent '304 not modified')
  
  Revision  Changes    Path
  1.329     +3 -2      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.328
  retrieving revision 1.329
  diff -u -r1.328 -r1.329
  --- http_protocol.c	2001/07/08 06:24:55	1.328
  +++ http_protocol.c	2001/07/18 19:52:40	1.329
  @@ -1752,8 +1752,9 @@
   
   static void reset_filters(request_rec *r)
   {
  -    r->connection->output_filters = r->output_filters = NULL;
  -    ap_add_output_filter("CORE", NULL, NULL, r->connection);
  +    /* only reset request level filters,
  +     * connection level filters need to remain in tact
  +     */
       r->output_filters = r->connection->output_filters;
       ap_add_output_filter("CONTENT_LENGTH", NULL, r, r->connection);
       ap_add_output_filter("HTTP_HEADER", NULL, r, r->connection);
  
  
  

Mime
View raw message