#23297 [Fbk->Csd]: segfault with CURLOPT_UPLOAD

From: Date: Mon, 21 Apr 2003 17:31:32 +0000
Subject: #23297 [Fbk->Csd]: segfault with CURLOPT_UPLOAD
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37994@lists.php.net to get a copy of this message
ID: 23297 Updated by: sniper@php.net Reported By: greg at mtechsolutions dot ca -Status: Feedback +Status: Closed Bug Type: cURL related Operating System: linux redhat 8.0 PHP Version: 4.3.1 Previous Comments: ------------------------------------------------------------------------ [2003-04-21 12:31:23] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Seems to be fixed. (you need to update Curl too) ------------------------------------------------------------------------ [2003-04-21 10:50:39] greg at mtechsolutions dot ca As soon as I try to use curl_setopt with CURLOPT_UPLOAD, I get a segfault, using php-cli 4.3.1. $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://domain/upload"); curl_setopt($ch, CURLOPT_UPLOAD, 1); $results = curl_exec($ch); curl_close($ch); This is similar to bug 22681, but it happens without anything to do with fopen() as described in that bug. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23297&edit=1

« previous php.bugs (#37994) next »