-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters