httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Thu, 09 Aug 2001 04:56:23 GMT
rbb         01/08/08 21:56:23

  Modified:    modules/http http_protocol.c
  Log:
  If we are going to get the length of a brigade, it helps if that
  brigade has data.  To that end, if we have just expanded ctx->b, we need
  to concat ctx->b to the end of b, so that b has something to pass
  back to the previous filter.
  
  This fixes the problem with the proxy not proxying non-keepalive
  connections.
  
  Revision  Changes    Path
  1.351     +1 -0      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.350
  retrieving revision 1.351
  diff -u -r1.350 -r1.351
  --- http_protocol.c	2001/08/09 04:25:46	1.350
  +++ http_protocol.c	2001/08/09 04:56:23	1.351
  @@ -660,6 +660,7 @@
               apr_size_t len;
               apr_bucket_read(e, &str, &len, APR_BLOCK_READ);
           }
  +        APR_BRIGADE_CONCAT(b, ctx->b);
           apr_brigade_length(b, 1, &total);
           *readbytes = total;
           e = apr_bucket_eos_create();
  
  
  

Mime
View raw message