httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@apache.org
Subject cvs commit: httpd-proxy/module-2.0 proxy_ftp.c proxy_http.c proxy_util.c
Date Sun, 06 May 2001 10:59:22 GMT
chuck       01/05/06 03:59:22

  Modified:    .        CHANGES
               module-2.0 proxy_ftp.c proxy_http.c proxy_util.c
  Log:
  Track Greg's change to byte count for input filters
  
  Revision  Changes    Path
  1.32      +3 -0      httpd-proxy/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/CHANGES,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- CHANGES	2001/05/05 05:48:58	1.31
  +++ CHANGES	2001/05/06 10:59:22	1.32
  @@ -1,6 +1,9 @@
   
   mod_proxy changes for httpd 2.0.18-dev
   
  +  *) Remove indirection on number of bytes to read for input filters.
  +     [Chuck Murcko <chuck@topsail.org>]
  +
     *) Fixed a problem with directory listing corruption in the
        PROXY_DIR filter.
        [Graham Leggett <minfrin@sharp.fm>]
  
  
  
  1.54      +1 -1      httpd-proxy/module-2.0/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_ftp.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- proxy_ftp.c	2001/05/01 21:30:07	1.53
  +++ proxy_ftp.c	2001/05/06 10:59:22	1.54
  @@ -1579,7 +1579,7 @@
   		     "proxy: FTP: start body send");
   
   	/* read the body, pass it to the output filters */
  -	while (ap_get_brigade(remote->input_filters, bb, AP_MODE_BLOCKING, &readbytes)
== APR_SUCCESS) {
  +	while (ap_get_brigade(remote->input_filters, bb, AP_MODE_BLOCKING, readbytes) == APR_SUCCESS)
{
   	    if (APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(bb))) {
   		e = apr_bucket_flush_create();
   		APR_BRIGADE_INSERT_TAIL(bb, e);
  
  
  
  1.67      +1 -1      httpd-proxy/module-2.0/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_http.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- proxy_http.c	2001/04/24 08:38:43	1.66
  +++ proxy_http.c	2001/05/06 10:59:22	1.67
  @@ -781,7 +781,7 @@
   		     "proxy: start body send");
   
   	/* read the body, pass it to the output filters */
  -	while (ap_get_brigade(rp->input_filters, bb, AP_MODE_BLOCKING, &readbytes) == APR_SUCCESS)
{
  +	while (ap_get_brigade(rp->input_filters, bb, AP_MODE_BLOCKING, readbytes) == APR_SUCCESS)
{
   	    if (APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(bb))) {
   		e = apr_bucket_flush_create();
   		APR_BRIGADE_INSERT_TAIL(bb, e);
  
  
  
  1.58      +1 -1      httpd-proxy/module-2.0/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_util.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- proxy_util.c	2001/04/24 04:38:53	1.57
  +++ proxy_util.c	2001/05/06 10:59:22	1.58
  @@ -1101,7 +1101,7 @@
       while (!found) {
   
   	/* get brigade from network one line at a time */
  -	if (APR_SUCCESS != (rv = ap_get_brigade(c->input_filters, bb, AP_MODE_BLOCKING, &readbytes)))
{
  +	if (APR_SUCCESS != (rv = ap_get_brigade(c->input_filters, bb, AP_MODE_BLOCKING, readbytes)))
{
   	    return rv;
   	}
   
  
  
  

Mime
View raw message