Need help cloning? Learn how to
clone a repository.
is a free Git and Mercurial client for Windows.
is a free Git and Mercurial client for Mac.
issue #3 closed, but I've notice related bug.
Segmentation fault appears after $req->free(), if request contains body.
I've imitated it in attached script
Hmm, can't reproduce:
$ php -n -dextension=event.so http.php
0 -> 524288
1 -> 524288
2 -> 524288
3 -> 524288
2054 -> 524288
2055 -> 524288
2056 -> 524288
Did you run this with the latest git version? Here is an output on my x86_64 Gentoo:
$ php -n -dextension=event.so --ri event
Event support => enabled
Sockets support => enabled
Debug support => enabled
Extra functionality support including HTTP, DNS, and RPC => enabled
OpenSSL support => enabled
Thread safety support => disabled
Extension version => 1.9.2
libevent2 headers version => 2.0.21-stable
$ php --version
PHP 5.4.26-pl0-gentoo (cli) (built: Apr 9 2014 10:14:49) (DEBUG)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v3.0.1, Copyright (c) 2005-2013, by mOo
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
with XCache Optimizer v3.0.1, Copyright (c) 2005-2013, by mOo
with XCache Cacher v3.0.1, Copyright (c) 2005-2013, by mOo
with XCache Coverager v3.0.1, Copyright (c) 2005-2013, by mOo
sorry, I really used 1.9.1, just downloaded latest release from https://bitbucket.org/osmanov/pecl-event/src and did not notices version.
Duplicate of #3.