You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modproxy-dev@apache.org by Ian Holsman <ia...@cnet.com> on 2001/08/07 23:20:06 UTC
Re: [PATCH] proxy_util.c
thanks.
On 07 Aug 2001 22:39:42 +0000, barbee@veribox.net wrote:
> function prototype for apr_get_brigade changed.
> not sure what the storage size difference is between apr_size_t
> and apr_off_t but we end up with a bus error later down the line
> when we assign len to strlen(buffer).
>
> barbee.
>
> Index: proxy_util.c
> ===================================================================
> RCS file: /home/cvspublic/httpd-proxy/module-2.0/proxy_util.c,v
> retrieving revision 1.67
> diff -u -a -r1.67 proxy_util.c
> --- proxy_util.c 2001/08/01 05:50:29 1.67
> +++ proxy_util.c 2001/08/07 20:54:33
> @@ -990,7 +990,7 @@
> {
> apr_bucket *e;
> apr_status_t rv;
> - apr_size_t readbytes = 0; /* line-at-a-time */
> + apr_off_t readbytes = 0; /* line-at-a-time */
> char *pos = buff;
> char *response;
> int found = 0;
--
Ian Holsman IanH@cnet.com
Performance Measurement & Analysis
CNET Networks - (415) 364-8608