0.34.6_repo_cleanup
This commit is contained in:
1 parent
ce1a90397c
commit
133d2f0f91
273 files changed
+5969
-6926
No files matched your search
@@ -1,7 +1,3 @@
|
||||
/// A client can cancel an obsolete in-flight request during navigation/F5.
|
||||
/// RFC 9114 section 4.1.1 gives this a stream reset code, not an HTTP 400.
|
||||
/// Treat only peer-originated cancellation as benign; local protocol errors
|
||||
/// and other remote reset codes remain visible to operators.
|
||||
fn client_cancelled_code(code: Code) -> bool {
|
||||
code == Code::H3_REQUEST_CANCELLED || code == Code::H3_NO_ERROR
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user