diff --git a/sjrpc/core/rpcconnection.py b/sjrpc/core/rpcconnection.py index f868879e6e64bf3dae48339ecafdedfbb316a408..702ccdfc3ffb402c41d93b8687703038af2538da 100644 --- a/sjrpc/core/rpcconnection.py +++ b/sjrpc/core/rpcconnection.py @@ -294,6 +294,7 @@ class RpcConnection(object): to the caller, except for the case where the method isn't found on the handler. ''' + if set(RpcConnection.REQUEST_MESSAGE) <= set(message): # Handle call requests from the peer: if self._handler is not None: