You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/04/15 21:18:17 UTC

[jira] [Closed] (THRIFT-2460) unopened socket fd must be less than zero.

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

Jens Geyer closed THRIFT-2460.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.2

Many thanks, committed.

> unopened socket fd must be less than zero.
> ------------------------------------------
>
>                 Key: THRIFT-2460
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2460
>             Project: Thrift
>          Issue Type: Bug
>          Components: C glib - Library
>    Affects Versions: 0.9.1
>            Reporter: Jaesang Kim
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: thrift-2460-unopened_socket_set_to_negative_integer.patch
>
>
> ThriftSocket->sd is 0 when initialized.
> But socket() function return a fd number greater than *equal* 0.
> So, ThriftSocket->sd must be less than 0 in initialize function.



--
This message was sent by Atlassian JIRA
(v6.2#6252)