aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/lib.rs
diff options
context:
space:
mode:
authorCristian Brinza <cristianb@gmail.com>2024-10-02 19:59:31 +0300
committerGitHub <noreply@github.com>2024-10-02 16:59:31 +0000
commitc7a4e4f627f0bf331cedc1700ddeb92ffcba4e78 (patch)
tree4622a8ca7f541c2ccd9083cbefbfe8cbe0698cde /components/net/lib.rs
parentc682172440e2010ddd7e225463e81ddb175ebd81 (diff)
downloadservo-c7a4e4f627f0bf331cedc1700ddeb92ffcba4e78.tar.gz
servo-c7a4e4f627f0bf331cedc1700ddeb92ffcba4e78.zip
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>
Diffstat (limited to 'components/net/lib.rs')
-rw-r--r--components/net/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/lib.rs b/components/net/lib.rs
index 98a70391c8c..ccbb7e0d43a 100644
--- a/components/net/lib.rs
+++ b/components/net/lib.rs
@@ -32,6 +32,7 @@ pub mod fetch {
/// A module for re-exports of items used in unit tests.
pub mod test {
+ pub use crate::decoder::DECODER_BUFFER_SIZE;
pub use crate::hosts::{parse_hostsfile, replace_host_table};
pub use crate::http_loader::HttpState;
}