mjwtom commented on issue #3046:
URL: https://github.com/apache/brpc/issues/3046#issuecomment-3177464052

   > 因为协议是用户不能感知的,baidu_std的协议自身有很多字段,所以协议部分,让框架做是合理的,保证协议部分所有内容都计算了。 
而attachment,完全是给用户设置的,这也完全可以由用户计算。
   
   
我觉得,可以理解成,我把数据“交”给rpc传输,rpc可以有能力“保证”交给rpc和最终rpc收到的数据是一样的。参考tcp的checksum,也不是只算自己头的checksum,payload也会算。
   The Checksum of the TCP is calculated by taking into account the TCP Header, 
TCP body, and Pseudo IP header. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to