Skip to content

Commit 9f1012b

Browse files
Sync shared code from runtime (#31094)
Co-authored-by: Tratcher <[email protected]>
1 parent 118f411 commit 9f1012b

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

src/Shared/runtime/Http3/Frames/Http3ErrorCode.cs

+14-10
Original file line numberDiff line numberDiff line change
@@ -52,38 +52,42 @@ internal enum Http3ErrorCode : long
5252
/// </summary>
5353
IdError = 0x108,
5454
/// <summary>
55-
/// H3_SETTINGS_ERROR (0x10A):
56-
/// An endpoint detected an error in the payload of a SETTINGS frame: a duplicate setting was detected,
57-
/// a client-only setting was sent by a server, or a server-only setting by a client.
55+
/// H3_SETTINGS_ERROR (0x109):
56+
/// An endpoint detected an error in the payload of a SETTINGS frame.
5857
/// </summary>
5958
SettingsError = 0x109,
6059
/// <summary>
61-
/// H3_MISSING_SETTINGS (0x10B):
60+
/// H3_MISSING_SETTINGS (0x10A):
6261
/// No SETTINGS frame was received at the beginning of the control stream.
6362
/// </summary>
6463
MissingSettings = 0x10a,
6564
/// <summary>
66-
/// H3_REQUEST_REJECTED (0x10C):
65+
/// H3_REQUEST_REJECTED (0x10B):
6766
/// A server rejected a request without performing any application processing.
6867
/// </summary>
6968
RequestRejected = 0x10b,
7069
/// <summary>
71-
/// H3_REQUEST_CANCELLED (0x10D):
70+
/// H3_REQUEST_CANCELLED (0x10C):
7271
/// The request or its response (including pushed response) is cancelled.
7372
/// </summary>
7473
RequestCancelled = 0x10c,
7574
/// <summary>
76-
/// H3_REQUEST_INCOMPLETE (0x10E):
77-
/// The client?s stream terminated without containing a fully-formed request.
75+
/// H3_REQUEST_INCOMPLETE (0x10D):
76+
/// The client's stream terminated without containing a fully-formed request.
7877
/// </summary>
7978
RequestIncomplete = 0x10d,
8079
/// <summary>
81-
/// H3_CONNECT_ERROR (0x110):
80+
/// H3_MESSAGE_ERROR (0x10E):
81+
/// An HTTP message was malformed and cannot be processed.
82+
/// </summary>
83+
MessageError = 0x10e,
84+
/// <summary>
85+
/// H3_CONNECT_ERROR (0x10F):
8286
/// The connection established in response to a CONNECT request was reset or abnormally closed.
8387
/// </summary>
8488
ConnectError = 0x10f,
8589
/// <summary>
86-
/// H3_VERSION_FALLBACK (0x111):
90+
/// H3_VERSION_FALLBACK (0x110):
8791
/// The requested operation cannot be served over HTTP/3. The peer should retry over HTTP/1.1.
8892
/// </summary>
8993
VersionFallback = 0x110,

src/Shared/runtime/Http3/Frames/Http3FrameType.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ internal enum Http3FrameType : long
2424
GoAway = 0x7,
2525
ReservedHttp2WindowUpdate = 0x8,
2626
ReservedHttp2Continuation = 0x9,
27-
MaxPushId = 0xD,
28-
DuplicatePush = 0xE
27+
MaxPushId = 0xD
2928
}
3029
}

0 commit comments

Comments
 (0)