You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2013/07/19 21:14:48 UTC

[jira] [Resolved] (THRIFT-2038) THRIFT_INVALID_SOCKET added to PlatformSocket.h

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

Roger Meier resolved THRIFT-2038.
---------------------------------

    Resolution: Fixed
      Assignee: Konrad Grochowski

Thanks!
                
> THRIFT_INVALID_SOCKET added to PlatformSocket.h
> -----------------------------------------------
>
>                 Key: THRIFT-2038
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2038
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library
>            Reporter: Konrad Grochowski
>            Assignee: Konrad Grochowski
>            Priority: Blocker
>         Attachments: THRIFT-2038-invalid-socket.patch, unused_memeber_removed.patch
>
>
> using -1 to mark "invalid socket" causes a lot of warnings on Windows.
> I've added THRIFT_INVALID_SOCKET define to INVALID_SOCKET in PlatformSocket on Windows, and to -1 on other systems.

--
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