ID: 15307 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Assigned +Status: Closed Bug Type: cURL related Operating System: Linux 2.4.x PHP Version: 4.1.1 Assigned To: sterling New Comment:
This is fixed in 4.1.2 (I believe) or CVS most definitely... Previous Comments: ------------------------------------------------------------------------ [2002-03-01 10:38:05] [EMAIL PROTECTED] Same problem here. But: same code on another machine works just fine. Only differences: working one:curl --version curl 7.9.2 (i686-pc-linux-gnu) libcurl 7.9.2 (OpenSSL 0.9.6a) not-working one: curl --version curl 7.9.3 (i686-pc-linux-gnu) libcurl 7.9.3 (OpenSSL 0.9.5) ------------------------------------------------------------------------ [2002-02-20 02:54:47] [EMAIL PROTECTED] I've experienced the same problem. Additionally info: it works fine with PHP 4.0.6. ------------------------------------------------------------------------ [2002-01-30 22:22:29] [EMAIL PROTECTED] Oops - that's wrong; the OpenSSL option is installed in libcurl, but this particular segfault happened using plain old http. ------------------------------------------------------------------------ [2002-01-30 22:17:12] [EMAIL PROTECTED] One more thing - I'm using https protocol for the transfer. ------------------------------------------------------------------------ [2002-01-30 22:14:25] [EMAIL PROTECTED] I found this behavior while building a client-server system that uses cURL to get data from the server; when my server-side script didn't return anything at all, it caused the client side Apache process to actually die with a signal 11. I have the latest libcurl and the latest PHP, and I've just tried updating Apache to see if that affects the behavior (it doesn't, but it seemed like a good excuse to get my development system up to date). The only option I'm using for cURL is CURLOPT_RETURNTRANSFER. I'm not sure if this means anything, but if I run cURL from the command line, it doesn't segfault when visiting the same totally empty URL. Thanks for PHP! It's good, fast, AND cheap ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15307&edit=1
