From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.2.0
PHP Bug Type:     cURL related
Bug description:  curl hangs up in PHP ver 4.2.0

$ch = curl_init ();
$fname = tempnam ("C:\\tmp", "rbc");
$fp = fopen ($fname, "w");
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_PROXY, "proxy:8080");
curl_setopt ($ch, CURLOPT_FILE, $fp);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_MUTE, 1);
$result = curl_exec ($ch);
curl_close ($ch);

it's worked in PHP v4.0.6, 4.1.2 but not work in v4.2.0
No error messages output. Simple hangs up.

Php installed from win32-binnary package
-- 
Edit bug report at http://bugs.php.net/?id=17036&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17036&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17036&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17036&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17036&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17036&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17036&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17036&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17036&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17036&r=globals

Reply via email to