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/proxy proxy_http.c
Date Fri, 05 Apr 2002 18:08:07 GMT
dougm       02/04/05 10:08:07

  Modified:    modules/proxy proxy_http.c
  Log:
  Reviewed by:    Ryan Bloom
  remove flush bucket from ap_proxy_http_process_response.
  this allows for the response content-length header to be properly
  calculated/inserted.
  
  Revision  Changes    Path
  1.144     +0 -7      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.143
  retrieving revision 1.144
  diff -u -r1.143 -r1.144
  --- proxy_http.c	2 Apr 2002 04:30:49 -0000	1.143
  +++ proxy_http.c	5 Apr 2002 18:08:07 -0000	1.144
  @@ -841,7 +841,6 @@
               if ( (conf->error_override ==0) || r->status < 400 ) {
   
                   /* read the body, pass it to the output filters */
  -                apr_bucket *e;
                   int finish = FALSE;
                   while (ap_get_brigade(rp->input_filters, 
                                         bb, 
  @@ -873,12 +872,6 @@
                           ap_proxy_http_cleanup(r, p_conn, backend);
                           /* signal that we must leave */
                           finish = TRUE;
  -                    }
  -
  -                    /* if no EOS yet, then we must flush */
  -                    if (FALSE == finish) {
  -                        e = apr_bucket_flush_create(c->bucket_alloc);
  -                        APR_BRIGADE_INSERT_TAIL(bb, e);
                       }
   
                       /* try send what we read */
  
  
  

Mime
View raw message