Bug #10082 Updated: curl_setopt with CURLOPT_HTTPHEADER option is broken
| From: | sterling@php.net | Date: | Tue, 24 Apr 2001 22:13:19 +0000 |
| Subject: | Bug #10082 Updated: curl_setopt with CURLOPT_HTTPHEADER option is broken | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52324@lists.php.net to get a copy of this message | ||
ID: 10082
Updated by: sterling
Reported By: rooneg@electricjellyfish.net
Old-Status: Open
Status: Closed
Bug Type: cURL related
PHP Version: 4.0 Latest CVS (30/03/2001)
Assigned To:
Comments:
Changes incorporated in CVS, thanks.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-02 15:26:19] rooneg@electricjellyfish.net
And in a related problem, it seems that if you specify
CURLOPT_RETURNTRANSFER, in some cases you can get a
truncated response due to two off by one errors. at the
bottom of the curl_exec function, there is a line
ret_data[stat_sb.st_size - 1] = '