z25/pyZOCP — pull request #17 by fieldOfView (2014-06-03 20:50:47+00:00)
Title: Fix crash with short messages without peer

When receiving a "STOP" command from a peer, pyre responds with a "OK" message without a peer. If the ZOCP object is still around when that "OK" arrives, the client crashes. Or so it seems.

The proposed patch ignores any messages that have no peer set.