20 Commits

Author SHA1 Message Date
04ea82009c cleanup: replace "x/net/context" import with "context" (#2439) 2018-11-12 13:30:41 -08:00
11b582728a transport: move to internal to make room for new, public transport API (#2212)
This is a breaking change, but the transport package was never intended for use outside of grpc.  Any current users that we are aware of are incorrect or have a preferred alternative.
2018-07-11 11:22:45 -07:00
0e5a36b652 internal: move leakcheck to internal/ (#2129)
internal: move leakcheck to internal/
2018-06-07 16:57:56 -07:00
fc37cf1364 server: export ServerTransportStreamFromContext for unary interceptors to control headers/trailers (#2019) 2018-04-26 17:38:15 -07:00
57640c0e6f Allow storing alternate transport.ServerStream implementations in context (#1904) 2018-03-20 17:02:32 -07:00
4e393e0b21 grpc: fix deprecation comments to conform to standard (#1691) 2017-12-18 09:23:42 -08:00
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