mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
net: Refactor Decoder
(#33611)
* Refactor Decoder to be fully async Signed-off-by: crbrz <cristianb@gmail.com> * Update WPT results Signed-off-by: crbrz <cristianb@gmail.com> * Fix deflate unit test Signed-off-by: crbrz <cristianb@gmail.com> * Add compressed response update count test Signed-off-by: crbrz <cristianb@gmail.com> * Fix typo Signed-off-by: crbrz <cristianb@gmail.com> * Source error check without conversion to String Signed-off-by: crbrz <cristianb@gmail.com> * Simplify error check Signed-off-by: crbrz <cristianb@gmail.com> * Fix variable name Signed-off-by: crbrz <cristianb@gmail.com> * Added TODO note for network.tls.ignore_unexpected_eof Signed-off-by: crbrz <cristianb@gmail.com> --------- Signed-off-by: crbrz <cristianb@gmail.com>
This commit is contained in:
parent
c682172440
commit
c7a4e4f627
11 changed files with 278 additions and 457 deletions
|
@ -577,7 +577,15 @@ mod gen {
|
|||
},
|
||||
mime: {
|
||||
sniff: bool,
|
||||
}
|
||||
},
|
||||
tls: {
|
||||
/// Ignore `std::io::Error` with `ErrorKind::UnexpectedEof` received when a TLS connection
|
||||
/// is closed without a close_notify.
|
||||
///
|
||||
/// Used for tests because WPT server doesn't properly close the TLS connection.
|
||||
// TODO: remove this when WPT server is updated to use a proper TLS implementation.
|
||||
ignore_unexpected_eof: bool,
|
||||
},
|
||||
},
|
||||
session_history: {
|
||||
#[serde(rename = "session-history.max-length")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue