We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83405a5 commit 1b4540cCopy full SHA for 1b4540c
src/server/encode.rs
@@ -33,12 +33,6 @@ pub(crate) struct Encoder {
33
/// The amount of bytes read from the body.
34
/// This is only used in the known-length body encoder.
35
body_bytes_read: usize,
36
- /// The current chunk being re
37
- /// This is only used in the chunked body encoder.
38
- chunk: Option<io::Cursor<Vec<u8>>>,
39
- /// Determine whether this is the last chunk
40
41
- is_last: bool,
42
}
43
44
#[derive(Debug)]
@@ -61,8 +55,6 @@ impl Encoder {
61
55
head_bytes_read: 0,
62
56
body_len: 0,
63
57
body_bytes_read: 0,
64
- chunk: None,
65
- is_last: false,
66
58
67
59
68
60
0 commit comments