QUIC: Add new error code (98) about decompression failure

Change-Id: I6a29e89eb18c737c257953f3dbe98727ad9815e9
Reviewed-on: https://code.wireshark.org/review/22556
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2017-07-04 15:16:01 +02:00 committed by Michael Mann
parent ce04b1cd85
commit 0961367a32
1 changed files with 4 additions and 1 deletions

View File

@ -592,6 +592,8 @@ enum QuicErrorCode {
QUIC_INVALID_STREAM_FRAME = 50,
/* We received invalid data on the headers stream. */
QUIC_INVALID_HEADERS_STREAM_DATA = 56,
/* Invalid data on the headers stream received because of decompression failure. */
QUIC_HEADERS_STREAM_DATA_DECOMPRESS_FAILURE = 97,
/* The peer received too much data, violating flow control. */
QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA = 59,
/* The peer sent too much data, violating flow control. */
@ -707,7 +709,7 @@ enum QuicErrorCode {
QUIC_TOO_MANY_SESSIONS_ON_SERVER = 96,
/* No error. Used as bound while iterating. */
QUIC_LAST_ERROR = 97
QUIC_LAST_ERROR = 98
};
@ -811,6 +813,7 @@ static const value_string error_code_vals[] = {
{ QUIC_UNSUPPORTED_PROOF_DEMAND, "A demand for an unsupport proof type was received" },
{ QUIC_STREAM_SEQUENCER_INVALID_STATE, "Sequencer buffer get into weird state where continuing read/write will lead to crash" },
{ QUIC_TOO_MANY_SESSIONS_ON_SERVER, "Connection closed because of server hits max number of sessions allowed" },
{ QUIC_HEADERS_STREAM_DATA_DECOMPRESS_FAILURE, "Invalid data on the headers stream received because of decompression failure" },
{ QUIC_LAST_ERROR, "No error. Used as bound while iterating" },
{ 0, NULL }
};