OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // This file intentionally does not have header guards) | |
6 // inside a macro to generate enum. | |
7 | |
8 // This file contains the list of QUIC RST_STREAM errors. | |
9 | |
10 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
| |
11 | |
12 // There was some server error which halted stream processing. | |
13 QUIC_RST_STREAM_ERROR(SERVER_ERROR_PROCESSING_STREAM) | |
14 // We got two fin or reset offsets which did not match. | |
15 QUIC_RST_STREAM_ERROR(MULTIPLE_TERMINATION_OFFSETS) | |
16 // We got bad payload and can not respond to it at the protocol level. | |
17 QUIC_RST_STREAM_ERROR(BAD_APPLICATION_PAYLOAD) | |
18 // Stream closed due to connection error. No reset frame is sent when this | |
19 // happens. | |
20 QUIC_RST_STREAM_ERROR(STREAM_CONNECTION_ERROR) | |
21 // GoAway frame sent. No more stream can be created. | |
22 QUIC_RST_STREAM_ERROR(STREAM_PEER_GOING_AWAY) | |
23 | |
24 // No error. Used as bound while iterating. | |
25 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.
| |
OLD | NEW |