1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 08:57:00 +02:00

added content-encoding support to h2

This commit is contained in:
Nikolay Kim
2017-11-06 09:35:52 -08:00
parent bddd8e9c2e
commit 2379bcbf39
3 changed files with 44 additions and 7 deletions

View File

@@ -212,6 +212,7 @@ enum Decoder {
Identity,
}
// should go after write::GzDecoder get implemented
#[derive(Debug)]
struct Wrapper {
buf: BytesMut
@@ -247,6 +248,7 @@ impl io::Write for BytesWriter {
}
// should go after brotli2::write::BrotliDecoder::get_mut get implemented
#[derive(Debug)]
struct WrapperRc {
buf: Rc<RefCell<BytesMut>>,