msgpack/msgpack-rpc — pull request #54 by sugi (2012-05-07 14:23:55+00:00)
Title: PHP: client message reader fix (CPU exhaust and close handling)

This change is focused on two problems of client message reader.

* When connection is slow or blocked exhaust CPU by null read cycle.
* It will continue null read even if server closed connection.

So check eof and use select() to check data is ready.