Hiya,
If someone has some spare time could he look at curl_multi_info_read() i'd
like to use (test) the curl_multi functions, but without the
curl_multi_info_read it isn't really usefull (and when i look at the source
i thing it's almost finished)
P.S. when i test them i'll report back to you
Just posted a fix to a crash causing bug in the curl extension.
It's applicable to all revs of php. though I only provided a patch
to HEAD err 5.0 though it should be a quick cut paste for 4.3.1+
http://bugs.php.net/bug.php?id=22312
Phil.
--
PHP Development Mailing List http://www.php.net/
To
Can you put that patch somewhere where it can be downloaded?
(the bug system mangles it..)
--Jani
On Wed, 19 Feb 2003, Phil Oleson wrote:
Just posted a fix to a crash causing bug in the curl extension.
It's applicable to all revs of php. though I only provided a patch
to
Sure.. even made one for 4.3.1
http://nixil.net/curl.patches.tar.gz
Phil.
Jani Taskinen wrote:
Can you put that patch somewhere where it can be downloaded?
(the bug system mangles it..)
--Jani
On Wed, 19 Feb 2003, Phil Oleson wrote:
Just posted a fix to a crash causing
Hi,
i have a curl string:
curl --casert CA.srt -E client.pem:huho8 -l https://...;
now, i've added all of the needed curl properties for the php
application(e.g. curl_setopt($connection,CURLOPT_PORT,9000) BUT i can't
find what's the name of the Curl CONSTANT matching the client's Public Key
Hello,
please forward user questions to the [EMAIL PROTECTED]
mailinglist, this list is for development _OF_ PHP, not development
_with_ PHP.
Derick
On Fri, 17 Jan 2003, Andrian Ivanov wrote:
Hi,
i have a curl string:
curl --casert CA.srt -E client.pem:huho8 -l https://...;
now,
Hi,
now I made a Patch that is hopefully ok for you ;^)
I introduced the following functions:
curl_multi_init();
curl_multi_add ($multi,$ch1);
curl_multi_add ($multi,$ch2);
curl_multi_exec($multi);
curl_get_content($ch1);
thx,
Boris
?
// creates a multi session
$multi = curl_multi_init();
Hi,
i introduced the curl multi interface in php_curl.
Is this the right Place to post and discuss my Patch ?
Here an example what i introduced:
?
// creates a multi session
$multi = curl_multi_init();
// start of a normal easy session
$ch1 = curl_init(http://192.168.4.2/;);
$ch2 =
On Sun, Oct 13, 2002 at 06:15:23PM +0200, Boris Bukowski wrote:
i introduced the curl multi interface in php_curl.
Cool!
Is this the right Place to post and discuss my Patch ?
Yep, please post it here as an attachment.
Please note that we just started QA on PHP 4.3.0-dev so this patch might
Hi,
this works for me with curl-7.9.8 and php-4.2.3 under Linux.
Problems are:
* curl_easy_cleanup segfaults after curl_multi_cleanup
* I have to introduce Version checking in these m4 Files
Please give me suggestions howto make it clean and stable.
thx Boris
Here an example what this patch
Hi Boris,
PHP 4.3 already has the needed checks for curl with the multi interface.
Please read the README.SUBMITTING_PATCH file; your patch should be against
CVS and not PHP 4.2 (which is really getting old now!).
Also, you should Cc your patch to the curl extension maintiner
Sterling Hughes
Hello List,
I have a problem with the php CURL module and UTF-8 data.
My php script uses curl to do a post to a perl/cgi script. This perl script
returns UTF-8 encoded XML. The perl script returns utf-8, i have verified
that using the webserver logfiles, but the data that i receive in $result
Hey,
That does not make sense, since neither curl nor PHP do any
kind of conversion like that.
Are you sure that you're not looking at the output from an XML
processor that has mangled utf-8 - iso-8859-1 ??
(expat has source and target encodings that can be set separately),
And are you using
PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 11:49 AM
Subject: Re: [PHP-DEV] curl and UTF-8, random encoding?
Hey,
That does not make sense, since neither curl nor PHP do any
kind of conversion like that.
Are you sure that you're not looking at the output from an XML
processor
? I am running apache on linux, is that a
possibility?
Merijn
- Original Message -
From: Wez Furlong [EMAIL PROTECTED]
To: Merijn van den Kroonenberg [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 11:49 AM
Subject: Re: [PHP-DEV] curl and UTF-8, random encoding
Hello,
I get the following message when trying to enable the Curl extension:
In file included from /dat/dev/php/php-4.3.0dev/ext/curl/curl.c:45:
/dat/dev/php/php-4.3.0dev/ext/curl/php_curl.h:114: parse error before
`CURLM'
/dat/dev/php/php-4.3.0dev/ext/curl/php_curl.h:114: warning: no
Hi Sterling,
I've just commited my curl based wrapper.
It's currently read-only (due to a temporary limitation in curl),
and might not work properly for include/require statements (or
passing streams to third-party libraries) on systems without
fopencookie. Also, due to another bug
Hi Sterling,
I've just commited my curl based wrapper.
It's currently read-only (due to a temporary limitation in curl),
and might not work properly for include/require statements (or
passing streams to third-party libraries) on systems without fopencookie.
Also, due to another bug in curl,
Hi,
i still working with the PHP's curl functions (PHP 4.1.1) .
When call curl_exec() and CURLOPT_RETURNTRANSFER ist set (to 1) via
curl_opt() - php quit with a Segfault when curl_exec() receive nothink from
the Server.
After i get the last CVS curl.c (V 1.105) the Segfault was fixed but php
On Mon, 24 Sep 2001, Stanislav Malyshev wrote:
SH
SH Yes, but it also affects the portability of apps when using cURL,
SH you have to worry not only which php version supports which
SH features, but also which curl version linked with php supports these
SH features, this is
SH I'd expect it to work with all php's above 4.0.8, the only problem
SH is that if you link PHP 4.0.8 with an older version of CURL this
SH will cause PHP compilation errors that maybe unforseen, therefore,
SH to right it truly portable, you need two version checks for each new
On Tue, 25 Sep 2001, Stanislav Malyshev wrote:
SH I'd expect it to work with all php's above 4.0.8, the only problem
SH is that if you link PHP 4.0.8 with an older version of CURL this
SH will cause PHP compilation errors that maybe unforseen, therefore,
SH to right it truly
and also nl2br() crashes and chunk_split($string,2,' '); doesnt work ...
nl2br() should be fixed can you make sure with the latest CVS, and
make a backtrace of the crash?
okay, with the current cvs version, it works fine,
sorry
--
Holger
--
PHP Development Mailing List
Hi,
in the current cvs tree:
curl.c: In function `zm_startup_curl':
curl.c:196: `CURLINFO_SSL_VERIFY_RESULT' undeclared (first use in this
function)
curl.c:196: (Each undeclared identifier is reported only once
curl.c:196: for each function it appears in.)
curl.c: In function
On Mon, 24 Sep 2001, Holger Schopohl wrote:
and also nl2br() crashes and chunk_split($string,2,' '); doesnt work ...
nl2br() should be fixed can you make sure with the latest CVS, and
make a backtrace of the crash?
Derick
--
PHP Development Mailing List http://www.php.net/
To
On Mon, 24 Sep 2001, Holger Schopohl wrote:
Hi,
in the current cvs tree:
curl.c: In function `zm_startup_curl':
curl.c:196: `CURLINFO_SSL_VERIFY_RESULT' undeclared (first use in this
function)
curl.c:196: (Each undeclared identifier is reported only once
curl.c:196: for each function it
SH Try latest cvs with one of the curl pre-releases (the latest pre
SH release should work fine).
Maybe it is still possible to ifdef such things? Like, support of two more
constants is not really so vital for curl usage, and if I have a choice of
using unpackaged pre-release
On Mon, 24 Sep 2001, Stanislav Malyshev wrote:
SH Try latest cvs with one of the curl pre-releases (the latest pre
SH release should work fine).
Maybe it is still possible to ifdef such things? Like, support of two more
constants is not really so vital for curl usage, and if I have
SH
SH Yes, but it also affects the portability of apps when using cURL,
SH you have to worry not only which php version supports which
SH features, but also which curl version linked with php supports these
SH features, this is a real headache.
No, quite the opposite - if the
CV Sterling has been fixing some other cURL stuff, but he's told me
CV (offlist) that he can't look at this problem until next week.
CV Hopefully someone else can stand up and take a quick look.
Generally, I think I know how to fix this in PHP. I am not copletely sure,
however, that cURL's
CV Sterling has been fixing some other cURL stuff, but he's told me
CV (offlist) that he can't look at this problem until next week.
CV Hopefully someone else can stand up and take a quick look.
Could you please try the attached patch? It seems to me that it results in
a sane behaviour, while
Seems like recent cURL module always outputs the header to STDOUT, even if
the curl_setopt ($c, CURLOPT_HEADER, 0) was called. I do not know if it's
cURL library or PHP cURL module problem, but obviously it is going to
break a lot of scripts this way.
--
Stanislav Malyshev, Zend Products
Seems like recent cURL module always outputs the header to STDOUT, even if
the curl_setopt ($c, CURLOPT_HEADER, 0) was called. I do not know if it's
cURL library or PHP cURL module problem, but obviously it is going to
break a lot of scripts this way.
I reported this already: bug #12018
CV I reported this already: bug #12018
CV
CV Sterling has been fixing some other cURL stuff, but he's told me (offlist)
CV that he can't look at this problem until next week. Hopefully someone else
CV can stand up and take a quick look.
Seems that I know what is the problem - header handler
Trying to compile PHP tomorrow, I see a lot of undeclared errors in curl,
like:
/home.import/frodo/php4/ext/curl/curl.c:663: `CURLOPT_PASSWDFUNCTION'
undeclared (first use in this function)
etc. Can anybody tell me why it happens? It worked some days before.
--
Stanislav Malyshev, Zend
At 04:06 PM 5/1/2001 +0300, Stanislav Malyshev wrote:
Trying to compile PHP tomorrow, I see a lot of undeclared errors in curl,
like:
/home.import/frodo/php4/ext/curl/curl.c:663: `CURLOPT_PASSWDFUNCTION'
undeclared (first use in this function)
etc. Can anybody tell me why it happens? It worked
AG You need to get the latest CVS of curl itself. The header files
AG have changed. Sterling posted diff's. Andi
Ugh. I see. Will it work with some release of CURL on the start (or at
least the end) of 4.0.6 cycle? Because releasing product depending on CVS
version of something is ... well, not
On Tue, 1 May 2001, Stanislav Malyshev wrote:
AG You need to get the latest CVS of curl itself. The header files
AG have changed. Sterling posted diff's. Andi
Ugh. I see. Will it work with some release of CURL on the start (or at
least the end) of 4.0.6 cycle? Because releasing product
On Tue, May 01, 2001 at 04:06:00PM +0300, Stanislav Malyshev wrote:
Trying to compile PHP tomorrow, I see a lot of undeclared errors in curl,
like:
/home.import/frodo/php4/ext/curl/curl.c:663: `CURLOPT_PASSWDFUNCTION'
undeclared (first use in this function)
etc. Can anybody tell me why
39 matches
Mail list logo