2 segfault with Client::setDebug and Client::dequeue()
10 zend.exception_ignore_args=off
16 $c->enqueue(new http\Client\Request("GET", "http://example.com"));
18 $c->setDebug(function(http\Client $c, http\Client\Request $r, $type, $data) {
19 if ($type & http\Client::DEBUG_HEADER) {
26 } catch (Exception $e) {
35 http\Exception\RuntimeException: http\Client::dequeue(): Could not dequeue request while executing callbacks in %sgh-issue50.php:9
37 #0 %sgh-issue50.php(9): http\Client->dequeue(Object(http\Client\Request))
38 #1 [internal function]: {closure}(Object(http\Client), Object(http\Client\Request), 18, 'GET / HTTP/1.1%s...')
39 #2 %sgh-issue50.php(14): http\Client->send()