aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-quic.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-04 15:16:01 +0200
committerMichael Mann <mmann78@netscape.net>2017-07-11 10:47:26 +0000
commit0961367a32a887a2bb847000441e6a3da5137fea (patch)
treedc48bd1adc2e74709693babe32fafa50c7a8cd27 /epan/dissectors/packet-quic.c
parentce04b1cd85a7cd16cc9c1093f3a59bae5f1af305 (diff)
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>
Diffstat (limited to 'epan/dissectors/packet-quic.c')
-rw-r--r--epan/dissectors/packet-quic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-quic.c b/epan/dissectors/packet-quic.c
index 154df5767a..526fc2f5b5 100644
--- a/epan/dissectors/packet-quic.c
+++ b/epan/dissectors/packet-quic.c
@@ -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 }
};