Chromium Code Reviews| Index: net/quic/quic_rst_stream_error_list.h |
| diff --git a/net/quic/quic_rst_stream_error_list.h b/net/quic/quic_rst_stream_error_list.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9ac8d49525819aebadbc15098ef030adf3320842 |
| --- /dev/null |
| +++ b/net/quic/quic_rst_stream_error_list.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// This file intentionally does not have header guards) |
| +// inside a macro to generate enum. |
| + |
| +// This file contains the list of QUIC RST_STREAM errors. |
| + |
| +QUIC_RST_STREAM_ERROR(STREAM_NO_ERROR) |
|
eroman
2013/06/18 19:39:17
[optional] put this in the enum block
Ryan Hamilton
2013/06/19 16:59:11
Hm. I could definitely go either way. I'm inclin
|
| + |
| +// There was some server error which halted stream processing. |
| +QUIC_RST_STREAM_ERROR(SERVER_ERROR_PROCESSING_STREAM) |
| +// We got two fin or reset offsets which did not match. |
| +QUIC_RST_STREAM_ERROR(MULTIPLE_TERMINATION_OFFSETS) |
| +// We got bad payload and can not respond to it at the protocol level. |
| +QUIC_RST_STREAM_ERROR(BAD_APPLICATION_PAYLOAD) |
| +// Stream closed due to connection error. No reset frame is sent when this |
| +// happens. |
| +QUIC_RST_STREAM_ERROR(STREAM_CONNECTION_ERROR) |
| +// GoAway frame sent. No more stream can be created. |
| +QUIC_RST_STREAM_ERROR(STREAM_PEER_GOING_AWAY) |
| + |
| +// No error. Used as bound while iterating. |
| +QUIC_RST_STREAM_ERROR(STREAM_LAST_ERROR) |
|
eroman
2013/06/18 19:39:17
put this in the enum block.
Ryan Hamilton
2013/06/19 16:59:11
Done.
|