Can Apache Thrift Library modify the headers in a TCP or UDP packet? -
can apache thrift library modify headers in tcp or udp packet? please provide feedback , replies.
short answer: no
long answer: can add functionality yourself
apache thrift uses transports perform device i/o. tsocket transport used tcp i/o (it used transport in experience, underlying thrift rpc apps). tsocket not let set arbitrary l4 headers.
that said, transports modular means can create own custom transports , use them rest of apache thrift (no need write serializers, servers, etc.).
for example, fork tsocket , make whatever changes , use thrift. not difficult need modify tsocket impl each language want use technique with. there no wide spread udp transport implementation in thrift (though again generalize tsocket).
Comments
Post a Comment