You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I call $conn->end() the client receives the write buffer (HTTP Response) but the connection does not close. If I call $conn->close() the server does close the connection, but does not receive the write buffer.
Mac OS 10.7.3
libevent 2.0.17-stable
php libevent bindings v0.0.5
The text was updated successfully, but these errors were encountered:
I'm sorry if it looks like I'm always bringing bad news about pecl-libevent but the extension doesn't seem to officially support libevent > 1.4.x and we are already having issues with libevent 2.x when using tick().
I'll try again the same gist using both libevent 1.4 and 2.0 asap (on Linux).
nrk
added a commit
to nrk/react
that referenced
this issue
May 12, 2012
When doing two consecutive updates on an event resource inside the same
tick, pecl-libevent seems to get stuck without properly freeing up the
event. It is still unclear if it is something related to pecl-libevent
or libevent itself, but our new approach seems to fix this problem.
For now we just delete the previous resource and create a new one one
on the associated stream using the new flags.
This commit should fix issue reactphp#9.
Here is the code I was using against the master branch: https://gist.github.com/2653190
If I call
$conn->end()
the client receives the write buffer (HTTP Response) but the connection does not close. If I call$conn->close()
the server does close the connection, but does not receive the write buffer.The text was updated successfully, but these errors were encountered: