[ 
https://issues.apache.org/jira/browse/THRIFT-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Batyukov updated THRIFT-1371:
---------------------------------------

    Attachment: thrift-0.8.0-poll.patch
    
> 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
>         Attachments: thrift-0.7.0-poll.patch, thrift-0.8.0-poll.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to