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
rpc: move RPC record marking into GrizzlyRpcTransport
Motivation:
The grizzly pipeline built as:
TransportFilter <-> RpcMessageParserTCP <-> RpcProtocolFilter <-> RpcDispatcher
which means, that every `Connection#write` called in RpcProtocolFilter and RpcDispatcher
calls RpcMessageParserTCP#handleWrite. The later one always adds RPC
frame marker, thus doesn't allow to use multiple writes within singe
frame.
Modification:
Move RPC message separation marker appending from RpcMessageParserTCP
into `GrizzlyRpcTransport#send`
Result:
The `GrizzlyRpcTransport#send` can use multiple `Connection#write` to
send a rpc message.
Acked-by: Albert Rossi
Target: master
0 commit comments