ID:               29727
 User updated by:  bip at pennec dot org
 Reported By:      bip at pennec dot org
 Status:           Closed
 Bug Type:         cURL related
 Operating System: All
 PHP Version:      4.3.9RC1
 New Comment:

It's OK ! thankx ! It works fine on PHP5 :-) on windows and  linux
too.
Interface.c exists on PHP5 but not on 4.3 series (there is only
curl.c), is possible to update this series too ?


Previous Comments:
------------------------------------------------------------------------

[2004-08-18 23:31:51] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2004-08-18 19:08:08] bip at pennec dot org

This patch seems to works with libcurl 7.12.
The patch is applied against curl.c version of php 4.3.4

43,47d39
> /* As of curl 7.11.1 this is no longer defined inside curl.h */
> #ifndef HttpPost
> #define HttpPost curl_httppost
> #endif
>
197a198,210
> #if LIBCURL_VERSION_NUM >= 0x070a07 /* CURLOPT_HTTPAUTH is available
since curl 7.10.6 */
>       REGISTER_CURL_CONSTANT(CURLOPT_PROXYAUTH);
>       REGISTER_CURL_CONSTANT(CURLOPT_HTTPAUTH);
>     /* http authentication options */
>     REGISTER_CURL_CONSTANT(CURLAUTH_BASIC);
>     REGISTER_CURL_CONSTANT(CURLAUTH_DIGEST);
>     REGISTER_CURL_CONSTANT(CURLAUTH_GSSNEGOTIATE);
>     REGISTER_CURL_CONSTANT(CURLAUTH_NTLM);
>     REGISTER_CURL_CONSTANT(CURLAUTH_ANY);
>     REGISTER_CURL_CONSTANT(CURLAUTH_ANYSAFE);
>
> #endif
>
715a729,732
> #if LIBCURL_VERSION_NUM >= 0x070a07
>               case CURLOPT_PROXYAUTH:
>               case CURLOPT_HTTPAUTH:
> #endif

------------------------------------------------------------------------

[2004-08-18 11:05:04] bip at pennec dot org

Description:
------------
CURLOPT_PROXYAUTH constant appears in libcurl 7.10.7 but is not
register in recents releases of the php_curl module.

This constant is needed to pass thru proxy with ntlm authentication

Reproduce code:
---------------
$ch = curl_init();

curl_setopt ($ch, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29727&edit=1

Reply via email to