gregames    2002/10/29 10:26:54

  Modified:    specweb99/specweb99-2.0 mod_specweb99.c
  Log:
  Handlers shouldn't check r->header_only in 2.0.  It results in incorrect
  headers such as Content-Length.  Plus, it's a conditional branch that we
  don't need.
  
  Revision  Changes    Path
  1.12      +1 -7      httpd-test/specweb99/specweb99-2.0/mod_specweb99.c
  
  Index: mod_specweb99.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/specweb99/specweb99-2.0/mod_specweb99.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_specweb99.c   25 Oct 2002 22:04:43 -0000      1.11
  +++ mod_specweb99.c   29 Oct 2002 18:26:53 -0000      1.12
  @@ -215,9 +215,6 @@
   
       bp_head = returnHTMLPageHead(r, strlen(buf));
   
  -    if (r->header_only)
  -     return;
  -
       bb = apr_brigade_create(r->pool, c->bucket_alloc);
   
       b1 = apr_bucket_transient_create(bp_head, strlen(bp_head), 
c->bucket_alloc);
  @@ -269,9 +266,6 @@
       }
   
       bp_head = returnHTMLPageHead(r, s.size);
  -
  -    if (r->header_only) 
  -     return;
   
       b1 = apr_bucket_transient_create(bp_head, strlen(bp_head), 
c->bucket_alloc);
   
  
  
  

Reply via email to