Socket timeouts (SO_RCVTIMEO and SO_SNDTIMEO) not supported on Solaris
----------------------------------------------------------------------
Key: THRIFT-1371
URL: https://issues.apache.org/jira/browse/THRIFT-1371
Project: Thrift
Issue Type: Improvement
Components: C++ - Library
Affects Versions: 0.7
Reporter: MichaĆ Kowalczuk
Solaris doesn't support setting SO_RCVTIMEO and SO_SNDTIMEO on socket using
setsockopt(). I suggest using non-blocking socket and poll(). I've attached
patch (generated by diff -crB) against thrift-0.7.0 that does that. The patch
was tested in quite big production environment for more that one month and
works well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira