Skip to content

Commit

Permalink
fix: small message deflate
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivateRookie committed Dec 20, 2023
1 parent f4d0078 commit 73c6906
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,5 +1,5 @@
[workspace]
package.version = "0.10.4"
package.version = "0.10.5"
members = [".", "ffi/py"]

[package]
Expand Down
2 changes: 1 addition & 1 deletion src/codec/deflate/blocking.rs
Expand Up @@ -101,7 +101,7 @@ impl DeflateWriteState {
let mask = mask_fn();
match (self.com.as_mut(), code.is_data()) {
(Some(handler), true) => {
let mut output = Vec::with_capacity(chunk.len());
let mut output = vec![];
handler
.com
.compress(&[chunk], &mut output)
Expand Down
2 changes: 1 addition & 1 deletion src/codec/deflate/non_blocking.rs
Expand Up @@ -102,7 +102,7 @@ impl DeflateWriteState {
let mask = mask_fn();
match (self.com.as_mut(), code.is_data()) {
(Some(handler), true) => {
let mut output = Vec::with_capacity(chunk.len());
let mut output = vec![];
handler
.com
.compress(&[chunk], &mut output)
Expand Down
2 changes: 1 addition & 1 deletion test_config/fuzzingserver.json
Expand Up @@ -12,7 +12,7 @@
"8.*",
"9.*",
"10.*",
"12.*.1^",
"12.*.2",
"12.*.10"
],
"exclude-cases": [],
Expand Down

0 comments on commit 73c6906

Please sign in to comment.