You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/14 15:04:03 UTC
[jira] [Resolved] (THRIFT-3670) TSocketServer closes connection
after handling message
[ https://issues.apache.org/jira/browse/THRIFT-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III resolved THRIFT-3670.
---------------------------------------
Resolution: Won't Do
Assignee: James E. King III
Fix Version/s: 1.0
As support for the older cocoa compiler and library have been removed (see THRIFT-4719), all of the issues in Jira related to that code have also been removed. For legacy cocoa support you can use version 0.12.0 - everyone is expected to move to swift if they want to use the next release of Thrift.
> TSocketServer closes connection after handling message
> ------------------------------------------------------
>
> Key: THRIFT-3670
> URL: https://issues.apache.org/jira/browse/THRIFT-3670
> Project: Thrift
> Issue Type: Bug
> Components: Cocoa - Library
> Reporter: Niels Grewe
> Assignee: James E. King III
> Priority: Major
> Fix For: 1.0
>
>
> The TSocketServer in the Cocoa library currently closes the connection after every message. A symptom of this is that if you run the C++ TestClient against the [Objective-C server|https://github.com/ngrewe/thrift/blob/objc-portability/test/cocoa/src/TestServer.m] only the first test actually executes.
> It probably should call -readInBackgroundAndNotify on the file handle to react to further messages from the client, but that also requires implementing some scheme for managing the client sockets.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)