[ 
https://issues.apache.org/jira/browse/THRIFT-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031984#comment-14031984
 ] 

ASF GitHub Bot commented on THRIFT-2577:
----------------------------------------

GitHub user suuyaoo opened a pull request:

    https://github.com/apache/thrift/pull/142

    TFileTransport missuse of closesocket on windows platform

    https://issues.apache.org/jira/browse/THRIFT-2577

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/suuyaoo/thrift master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/142.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #142
    
----
commit 809ee5e0c1148a914537d3857c011fb0d73ade1f
Author: suuyaoo <[email protected]>
Date:   2014-06-15T06:59:25Z

    Update PlatformSocket.h

commit a2ebfdd35a2f3b80669b21b86d1a4b653723529c
Author: suuyaoo <[email protected]>
Date:   2014-06-15T07:29:40Z

    Update TFileTransport.cpp

commit e45364d4f3713ecfc365bbd21675b7dc7ef09052
Author: suuyaoo <[email protected]>
Date:   2014-06-15T14:37:29Z

    fix windows filetransport

----


> TFileTransport  missuse of closesocket on windows platform
> ----------------------------------------------------------
>
>                 Key: THRIFT-2577
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2577
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>            Reporter: suuyaoo
>             Fix For: 1.2
>
>
> On windows platform , TFileTransport  opens a file using the _open function, 
> but close it using THRIFT_CLOSESOCKET(closesocket), and this may cause a 
> TTransportException being throwed, which is not expected.



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

Reply via email to