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