You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Esteve Fernandez (JIRA)" <ji...@apache.org> on 2009/09/18 18:14:16 UTC

[jira] Created: (THRIFT-586) TSocket incorrectly sets the exception type when an end of file error occurs

TSocket incorrectly sets the exception type when an end of file error occurs
----------------------------------------------------------------------------

                 Key: THRIFT-586
                 URL: https://issues.apache.org/jira/browse/THRIFT-586
             Project: Thrift
          Issue Type: Bug
          Components: Library (Python)
            Reporter: Esteve Fernandez
            Priority: Minor


Title says all, in TSocket#read and TSocket#write, a TTransportException is raised where its type is set to 'Transport not open' instead of TTransportException.END_OF_FILE

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (THRIFT-586) TSocket incorrectly sets the exception type when an end of file error occurs

Posted by "Esteve Fernandez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Esteve Fernandez resolved THRIFT-586.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2

> TSocket incorrectly sets the exception type when an end of file error occurs
> ----------------------------------------------------------------------------
>
>                 Key: THRIFT-586
>                 URL: https://issues.apache.org/jira/browse/THRIFT-586
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Python)
>            Reporter: Esteve Fernandez
>            Assignee: Esteve Fernandez
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: 586-exception-type-end-of-file.patch
>
>
> Title says all, in TSocket#read and TSocket#write, a TTransportException is raised where its type is set to 'Transport not open' instead of TTransportException.END_OF_FILE

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-586) TSocket incorrectly sets the exception type when an end of file error occurs

Posted by "Esteve Fernandez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Esteve Fernandez updated THRIFT-586:
------------------------------------

    Attachment: 586-exception-type-end-of-file.patch

> TSocket incorrectly sets the exception type when an end of file error occurs
> ----------------------------------------------------------------------------
>
>                 Key: THRIFT-586
>                 URL: https://issues.apache.org/jira/browse/THRIFT-586
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Python)
>            Reporter: Esteve Fernandez
>            Priority: Minor
>         Attachments: 586-exception-type-end-of-file.patch
>
>
> Title says all, in TSocket#read and TSocket#write, a TTransportException is raised where its type is set to 'Transport not open' instead of TTransportException.END_OF_FILE

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (THRIFT-586) TSocket incorrectly sets the exception type when an end of file error occurs

Posted by "Esteve Fernandez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Esteve Fernandez reassigned THRIFT-586:
---------------------------------------

    Assignee: Esteve Fernandez

> TSocket incorrectly sets the exception type when an end of file error occurs
> ----------------------------------------------------------------------------
>
>                 Key: THRIFT-586
>                 URL: https://issues.apache.org/jira/browse/THRIFT-586
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Python)
>            Reporter: Esteve Fernandez
>            Assignee: Esteve Fernandez
>            Priority: Minor
>         Attachments: 586-exception-type-end-of-file.patch
>
>
> Title says all, in TSocket#read and TSocket#write, a TTransportException is raised where its type is set to 'Transport not open' instead of TTransportException.END_OF_FILE

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-586) TSocket incorrectly sets the exception type when an end of file error occurs

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757264#action_12757264 ] 

David Reiss commented on THRIFT-586:
------------------------------------

I don't think the named params are appropriate here, but the main changes look fine.

> TSocket incorrectly sets the exception type when an end of file error occurs
> ----------------------------------------------------------------------------
>
>                 Key: THRIFT-586
>                 URL: https://issues.apache.org/jira/browse/THRIFT-586
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Python)
>            Reporter: Esteve Fernandez
>            Assignee: Esteve Fernandez
>            Priority: Minor
>         Attachments: 586-exception-type-end-of-file.patch
>
>
> Title says all, in TSocket#read and TSocket#write, a TTransportException is raised where its type is set to 'Transport not open' instead of TTransportException.END_OF_FILE

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.