You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ia...@apache.org on 2001/08/07 23:46:47 UTC

cvs commit: httpd-proxy/module-2.0 CHANGES proxy_ftp.c proxy_http.c

ianh        01/08/07 14:46:47

  Modified:    module-2.0 CHANGES proxy_ftp.c proxy_http.c
  Log:
  change readbytes from a apr_size_t to a apr_off_t to match the parameter
  required in ap_get_brigade
  Submitted by:	 barbee@veribox.net
  Reviewed by:	 ianh@apache.org
  
  Revision  Changes    Path
  1.8       +3 -0      httpd-proxy/module-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/CHANGES,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- CHANGES	2001/08/03 21:26:47	1.7
  +++ CHANGES	2001/08/07 21:46:47	1.8
  @@ -1,3 +1,6 @@
  +mod_proxy changes for httpd 2.0.23-dev
  +  *) Change 'readbytes' from apr_size_t to apr_off_t due to change
  +     in ap_get_brigade's parameters [Barbee barbee@veribox.nbet]
   
   mod_proxy changes for httpd 2.0.20-dev
     *) Timeout added for backend connections.
  
  
  
  1.78      +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.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- proxy_ftp.c	2001/08/03 18:00:38	1.77
  +++ proxy_ftp.c	2001/08/07 21:46:47	1.78
  @@ -555,7 +555,7 @@
       int i = 0, j, len, rc;
       int one = 1;
       char *size = NULL;
  -    apr_size_t readbytes = -1;
  +    apr_off_t readbytes = -1;
   
       /* stuff for PASV mode */
       int connect = 0, use_port = 0;
  
  
  
  1.85      +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.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- proxy_http.c	2001/08/03 18:00:38	1.84
  +++ proxy_http.c	2001/08/07 21:46:47	1.85
  @@ -752,7 +752,7 @@
           (r->status != HTTP_NOT_MODIFIED)) {	/* not 304 */
   
   	const char *buf;
  -	apr_size_t readbytes;
  +	apr_off_t readbytes;
   
   	/* if chunked - insert DECHUNK filter */
   	if (ap_proxy_liststr((buf = apr_table_get(r->headers_out, "Transfer-Encoding")), "chunked")) {