Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
0.9
-
None
Description
Title tells it all.
m_rmt_socket = boost::shared_ptr<apache::thrift::transport::TSocket> (new apache::thrift::transport::TSocket(m_rmt_socket_path)); m_rmt_transport = boost::shared_ptr<apache::thrift::transport::TTransport> (new apache::thrift::transport::TBufferedTransport(m_rmt_socket)); m_rmt_protocol = boost::shared_ptr<apache::thrift::protocol::TProtocol> (new apache::thrift::protocol::TBinaryProtocol(m_rmt_transport));
I use Unix Domain sockets.
Workaround: once thrown by transport->open exception is caught call transport->close and then you can call transport->open again safely