php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58886 'CURLOPT_PROXYUSERNAME' undeclared
Submitted: 2009-10-11 03:29 UTC Modified: 2009-10-22 02:22 UTC
From: paulgao at yeah dot net Assigned: mike (profile)
Status: Closed Package: pecl_http (PECL)
PHP Version: 5.2.10 OS: Centos 5
Private report: No CVE-ID: None
 [2009-10-11 03:29 UTC] paulgao at yeah dot net
Description:
------------
i compile php with 1.6.6-dev, show error message:

/root/php-5.2.11/ext/http/http_request_api.c: In function '_http_request_defaults':
/root/php-5.2.11/ext/http/http_request_api.c:462: error: 'CURLOPT_PROXYUSERNAME' undeclared (first use in this function)
/root/php-5.2.11/ext/http/http_request_api.c:462: error: (Each undeclared identifier is reported only once
/root/php-5.2.11/ext/http/http_request_api.c:462: error: for each function it appears in.)
/root/php-5.2.11/ext/http/http_request_api.c:463: error: 'CURLOPT_PROXYPASSWORD' undeclared (first use in this function)
/root/php-5.2.11/ext/http/http_request_api.c:489: error: 'CURLOPT_USERNAME' undeclared (first use in this function)
/root/php-5.2.11/ext/http/http_request_api.c:490: error: 'CURLOPT_PASSWORD' undeclared (first use in this function)
make: *** [ext/http/http_request_api.lo] Error 1
make: *** Waiting for unfinished jobs....
/root/php-5.2.11/ext/http/http_send_api.c: In function '_http_send_response_data_plain':
/root/php-5.2.11/ext/http/http_send_api.c:78: warning: dereferencing type-punned pointer will break strict-aliasing rules
/root/php-5.2.11/ext/http/http_send_api.c: In function '_http_send_response_finish':
/root/php-5.2.11/ext/http/http_send_api.c:147: warning: dereferencing type-punned pointer will break strict-aliasing rules

Reproduce code:
---------------
configure & make it


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-11 03:31 UTC] paulgao at yeah dot net
CURL VERSION:

curl 7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
 [2009-10-22 02:22 UTC] mike@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Thanks Felipe.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 08:03:36 2021 UTC