I\'ve been trying to implement a thrift server in C++ to communicate with a Python client.
here is my code:
C++ server:
shared_ptr
Sorry, have not seen earlier, but looks like the same issue: Service Multiplexing using Apache Thrift
In short, you have to use either framed on both sides, or none.
shared_ptr _transportFactory(new TFramedTransportFactory());
shared_ptr _server(
new TNonblockingServer(
_processor,
_transportFactory,
_transportFactory,
_protocolFactory,
_protocolFactory,
9090,
_threadManager));
_server->serve();