Skip to content

Commit

Permalink
THRIFT-3959: document that the go simple server is not simple
Browse files Browse the repository at this point in the history
Client: go
Patch: JodeZer <jeffery1993@hotmail.com>

This closes #1213
  • Loading branch information
jeking3 committed Mar 22, 2017
1 parent bf9b697 commit 847fae9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/go/thrift/simple_server.go
Expand Up @@ -25,7 +25,11 @@ import (
"sync"
)

// Simple, non-concurrent server for testing.
/*
* This is not a typical TSimpleServer as it is not blocked after accept a socket.
* It is more like a TThreadedServer that can handle different connections in different goroutines.
* This will work if golang user implements a conn-pool like thing in client side.
*/
type TSimpleServer struct {
quit chan struct{}

Expand Down

0 comments on commit 847fae9

Please sign in to comment.