commit | eb2046f9d54995acaa2f4984fddf739831671c27 | [log] [tgz] |
---|---|---|
author | dschinazi <dschinazi@google.com> | Thu Mar 04 10:27:53 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 04 10:28:24 2021 -0800 |
tree | 84d724c5cb088f3856955fbc3725c0f43aca4b4e | |
parent | 6de961bf2f598ffba772786a28510fbd1c6f8771 [diff] |
Prevent QuicSimpleServerStream from sending two responses If the request headers are invalid, QuicSimpleServerStream sends an error response. If the request was a form of CONNECT, this could lead us to incorrectly send two responses. This CL adds a bool to ensure we don't do that, and some DCHECKs for future sanity. This issue was found during the IETF 110 hackathon. This code is in test-only tools which are not used in production. PiperOrigin-RevId: 360948797 Change-Id: Ia9dd74973efaf0cbd6f565db30ed46af31f4db1b
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. QUICHE is only supported on little-endian platforms.
Code can be viewed in CodeSearch in Quiche and is imported into Chromium.