Re: Bug #16232 Updated: remalloc FAIL on CURLOPT_HEADERFUNCTION callback
| From: | Alan Knowles | Date: | Sun, 24 Mar 2002 02:31:48 +0000 |
| Subject: | Re: Bug #16232 Updated: remalloc FAIL on CURLOPT_HEADERFUNCTION callback | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81695@lists.php.net to get a copy of this message | ||
patch attached
regards
alan
derick@php.net wrote:
> ID: 16232
> Updated by: derick@php.net
> Reported By: alan@akbkhome.com
>-Status: Open
>+Status: Feedback
> Bug Type: cURL related
> Operating System: linux
> PHP Version: 4.0CVS-2002-03-23
> New Comment:
>
>Hey Alan,
>
>can you please mail this patch to php-dev?
>
>regards,
>Derick
>
>
>Previous Comments:
>------------------------------------------------------------------------
>
>[2002-03-23 10:11:02] alan@akbkhome.com
>
>Fixes:
>callback to curl_setopt(CURLOPT_HEADERFUNCTION..) always causes this.
>FATAL: erealloc(): Unable to allocate 1075529781 bytes
>
>Fix:
>Basically a copy of the curl_write to curl_write_header
>
>Affects:
>all versions (that I know of - including 4.2.0rc1 & 4.2.0-dev)
>
>test code at
>ʈÊmæ�j°%�Ü
>zhttp://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpmole-ide/phpmole/tools/web_get.php?rev=1.2&content-type=text/vnd.viewcvs-markup
>
>usage:
>php web_get.php http://www.php.net
>
> /*
>