Skip to content

Commit 25e4ee9

Browse files
authored
Merge pull request #16 from rucoder/rucoder/big-frames
Enable big frames for socket transport and updated rust version
2 parents 12254a7 + fbd7c55 commit 25e4ee9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33

44
[package]
55
name = "monitor"
6-
version = "0.2.0"
6+
version = "0.2.1"
77
edition = "2021"
88
authors = [
99
"Mikhail Malyshev <[email protected]>",
1010
"Dion Bramley <[email protected]>",
1111
]
1212
repository = "https://github.com/lf-edge/eve-monitor-rs"
13+
rust-version = "1.84"
1314

1415
[profile.release]
1516
strip = "debuginfo" # Automatically strip symbols from the binary.

src/ipc/ipc_client.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ impl IpcClient {
4747

4848
let stream = LengthDelimitedCodec::builder()
4949
.little_endian()
50-
// go module github.com/getlantern/framed expects 2-byte in little-endian format
51-
// little-endian format as length field
52-
.length_field_type::<u16>()
50+
// go module github.com/getlantern/framed expects 4-byte in little-endian format as length field
51+
.length_field_type::<u32>()
5352
.new_framed(unix_stream);
5453
Ok(stream)
5554
}

0 commit comments

Comments
 (0)