Add OnConnectionCloseFrame, invoked to save ConnectionCloseFrame data

OnConnectionClose is invoked prior to the actual connection-close logic, and thus saves the ConnectionCloseFrame data prior to any method actually needing to access the data.

Note that there was one such method in GfeQuicClientSession. It saved the data in QuicSession. This means that GFE application code performed a quic/core function -- not desirable. This CL eliminates that reach-back, making for a somewhat cleaner separation of application and transport functions.

Note that this CL is outsized because quic_connection-test.cc had to be modified in many places to expect a call to OnConnectionCloseFrame. There is no logic of functional change to the tests.

gfe-relnote: Not flag protected, is not a functional change.
PiperOrigin-RevId: 268334183
Change-Id: I46bc4dca31d861162d860f03d4f896a41e75445f
1 file changed
tree: 6e17c40c63b52dc9fd5f3340b5243ce1aca592c5
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.

The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.