thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Samoilov <>
Subject thrift c++ client and recovering connection
Date Thu, 17 Jul 2014 23:01:53 GMT
hi community,

currently i use per call connection but due increase of communication
thinking to move to the model with always open connection. In this case I
need to handle situation when connection is lost and reopen it.

What is right way to do this? Do I need to recreate client after connection
lost? Because simply transport->open() does not work. Also, what would be
correct exception to catch (currently i think to reconnect on any

Thank you!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message