Jean de Klerk
0e5a36b652
internal: move leakcheck to internal/ ( #2129 )
...
internal: move leakcheck to internal/
2018-06-07 16:57:56 -07:00
dfawley
fc37cf1364
server: export ServerTransportStreamFromContext for unary interceptors to control headers/trailers ( #2019 )
2018-04-26 17:38:15 -07:00
Joshua Humphries
57640c0e6f
Allow storing alternate transport.ServerStream implementations in context ( #1904 )
2018-03-20 17:02:32 -07:00
Daniel Nephin
4e393e0b21
grpc: fix deprecation comments to conform to standard ( #1691 )
2017-12-18 09:23:42 -08:00
Shangpeng Sun
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
Menghan Li
d46a3655c4
Add leak goroutine checking to grpc/balancer tests ( #1497 )
2017-09-07 14:30:05 -07:00
Jan Tattermusch
ddbf6c46a6
autofix license notice
2017-06-08 14:42:19 +02:00
Menghan Li
ba23d25e3a
relax the checking on error string
2017-03-02 15:21:41 -08:00
Tamir Duberstein
ac90a026b6
*: go vet
2016-07-27 23:39:19 -04:00
Tamir Duberstein
9aa8038716
*: gofmt/goimports simplify
2016-07-27 23:38:28 -04:00
Menghan Li
bc8885608f
Merge unary RPC info and streaming RPC info
2016-07-11 13:09:50 -07:00
Menghan Li
0ea9f970c0
Add StreamInfo for streaming types
2016-07-11 12:09:05 -07:00
Menghan Li
a518fa911d
Split methods and streams in service info
2016-07-11 12:09:05 -07:00
Menghan Li
26d2db5487
Add server.GetServiceInfo().
...
To replace server.ServiceMetadata() and server.AllServiceNames().
2016-06-27 12:01:05 -07:00
Menghan Li
69c7425a21
Change server.ServiceMetadata to take service name and method name.
...
And some minor changes.
2016-06-27 12:01:05 -07:00
Menghan Li
451a2e416b
Minor change in allExtensionNumbersForType(), add TestAllServiceNames()
2016-06-27 12:01:05 -07:00
Menghan Li
e826825578
Add function Metadata() to Server
2016-06-27 12:01:05 -07:00
Ben Darnell
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