You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Can Celasun (JIRA)" <ji...@apache.org> on 2019/01/03 14:46:00 UTC

[jira] [Closed] (THRIFT-3959) Golang TSimpleServer Is More Of A TThreadedServer?

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

Can Celasun closed THRIFT-3959.
-------------------------------
    Resolution: Done

Closing this since the documentation is updated and a real, non-concurrent TSimpleServer wouldn't fit in Go. We could add a type alias with a more appropriate name, but that would require bumping minimum Go version from 1.7 to 1.9 and it's not worth it for a cosmetic change.

> Golang TSimpleServer Is More Of A TThreadedServer?
> --------------------------------------------------
>
>                 Key: THRIFT-3959
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3959
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>            Reporter: Paul Brown
>            Priority: Major
>
> The documentation says TSimpleServer is a "Simple singlethreaded server for testing.", however the golang implementation looks it spawns a go routine to process each request: https://github.com/apache/thrift/blob/master/lib/go/thrift/simple_server.go#L134-L138
> Shouldn't it be renamed to TThreadedServer?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)