PHP Spread 2.0.2 Patch
This is a patch against the excellent
PHP spread module by George
Schlossnagle, Pierre-A. Joye, and Rob Richards.
This patch includes the following changes:
- Added missing spread_leave() function.
- Support for optional stype parsing into an array of flags.
- Support for optional group membership messages.
- Fixed a comment typo.
- Change spread_receive() to return null on timeout and false on error (previously always returned false, making it impossible to tell a simple timeout with no data from a catastrophic failure, leading to tight CPU-burning loops when spread_receive() was used with timeouts and the connection drops.
This patch has received moderate, but not extensive, testing.
This patch is copyright © 2008 Jeff Wheelhouse and is subject to
of the PHP license.
Home Page |
Software Projects |