php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /var/www/html/img_galeri/2r1asasas/root/php-7.1.11/ext/curl/tests/ |
| files >> //var/www/html/img_galeri/2r1asasas/root/php-7.1.11/ext/curl/tests/bug68937_2.phpt |
--TEST--
Bug # #68937 (Segfault in curl_multi_exec)
--SKIPIF--
<?php
if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");
include 'skipif.inc';
?>
--FILE--
<?php
include 'server.inc';
$host = curl_cli_server_start();
$url = "{$host}/get.php";
$ch = curl_init($url);
curl_setopt_array($ch, array(
CURLOPT_HEADER => false,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_INFILESIZE => filesize(__FILE__),
CURLOPT_INFILE => fopen(__FILE__, 'r'),
CURLOPT_HTTPHEADER => array(
'Expect:',
'Content-Length: 1',
),
CURLOPT_READFUNCTION => 'curl_read',
CURLOPT_CONNECTTIMEOUT => 1,
CURLOPT_TIMEOUT => 1
));
function curl_read($ch, $fp, $len) {
var_dump($fp);
exit;
}
curl_exec($ch);
curl_close($ch);
?>
--EXPECTF--
resource(%d) of type (stream)
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`