grpc-java/netty
Eric Anderson 9ead606b84
netty: Reduce race window size between GOAWAY and new streams
The race between new streams and transport shutdown is #2562, but it is still
far from being generally solved. This reduces the race window of new streams
from (transport selection → stream created on network thread) to (transport
selection → stream enqueued on network thread). Since only a single thread now
needs to do work in the stream creation race window, the window should be
dramatically smaller.

This only reduces GOAWAY races when the server performs a graceful shutdown
(using two GOAWAYs), as that is the only non-racy way on-the-wire to shutdown a
connection in HTTP/2.
2020-04-10 12:03:23 -07:00
..
shaded bazel: Support maven_install 2019-12-30 12:08:42 -08:00
src netty: Reduce race window size between GOAWAY and new streams 2020-04-10 12:03:23 -07:00
BUILD.bazel bazel: Add helper for maven_install's override_targets 2019-08-22 07:40:32 -07:00
build.gradle all: update modules to wait until other module's sourceSet is available (#6232) 2019-10-02 15:05:44 -07:00