473b14250d
Serve() should not return error on Stop() or GracefulStop() ( #1485 )
...
* Serve() should not return error on Stop() or GracefulStop()
* Block Serve() until Stop() or GracefulStop() returns
2017-10-18 15:27:24 -07:00
d46a3655c4
Add leak goroutine checking to grpc/balancer tests ( #1497 )
2017-09-07 14:30:05 -07:00
ddbf6c46a6
autofix license notice
2017-06-08 14:42:19 +02:00
ba23d25e3a
relax the checking on error string
2017-03-02 15:21:41 -08:00
ac90a026b6
*: go vet
2016-07-27 23:39:19 -04:00
9aa8038716
*: gofmt/goimports simplify
2016-07-27 23:38:28 -04:00
bc8885608f
Merge unary RPC info and streaming RPC info
2016-07-11 13:09:50 -07:00
0ea9f970c0
Add StreamInfo for streaming types
2016-07-11 12:09:05 -07:00
a518fa911d
Split methods and streams in service info
2016-07-11 12:09:05 -07:00
26d2db5487
Add server.GetServiceInfo().
...
To replace server.ServiceMetadata() and server.AllServiceNames().
2016-06-27 12:01:05 -07:00
69c7425a21
Change server.ServiceMetadata to take service name and method name.
...
And some minor changes.
2016-06-27 12:01:05 -07:00
451a2e416b
Minor change in allExtensionNumbersForType(), add TestAllServiceNames()
2016-06-27 12:01:05 -07:00
e826825578
Add function Metadata() to Server
2016-06-27 12:01:05 -07:00
bab01e8e85
Fix a listener leak when a server is stopped before it starts
...
If server.Stop() and server.Serve() race, Serve() can return without
closing the listener. This in turn can lead to clients timing out trying
to connect to a server that is neither accepting nor rejecting
connections.
2016-05-22 14:52:40 -04:00