commit | cdcf0ad91964bf8ff6630733124297a8657b627c | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Tue Sep 08 09:10:49 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 08 09:11:22 2020 -0700 |
tree | 7df78711ca812f5669996b13ed8dcb4acae17fac | |
parent | 5b8985a2a3ae18926287ce296a07c9bd3ae997ec [diff] |
Use IETF application error codes for STOP_SENDING frames. Add ietf_error_code member to QuicStopSendingFrame, and use IetfResetStreamErrorCodeToRstStreamErrorCode() and RstStreamErrorCodeToIetfResetStreamErrorCode() to convert to and from QuicRstStreamErrorCode. This closely mirrors behavior of QuicRstStreamFrame. Protected by FLAGS_quic_reloadable_flag_quic_stop_sending_uses_application_error_code. PiperOrigin-RevId: 330521460 Change-Id: Ifc69cca79e47058bc6c1eac91661380eab4b8e02