Skip to content

Commit 11169f2

Browse files
emixa-djxs
andauthored
Update tungstenite to 0.17.2 (#973)
The build system I use hasn't implemented tests yet and uses a different dependency resolving system, so best double-check. Co-authored-by: João Oliveira <[email protected]>
1 parent c4edf4c commit 11169f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tokio-stream = "0.1.1"
3737
tokio-util = { version = "0.7", features = ["io"] }
3838
tracing = { version = "0.1.21", default-features = false, features = ["log", "std"] }
3939
tower-service = "0.3"
40-
tokio-tungstenite = { version = "0.15", optional = true }
40+
tokio-tungstenite = { version = "0.17", optional = true }
4141
percent-encoding = "2.1"
4242
pin-project = "1.0"
4343
tokio-rustls = { version = "0.23", optional = true }

src/filters/ws.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ impl Message {
373373
protocol::Message::Ping(ref v) => v,
374374
protocol::Message::Pong(ref v) => v,
375375
protocol::Message::Close(_) => &[],
376+
protocol::Message::Frame(ref frame) => frame.payload(),
376377
}
377378
}
378379

0 commit comments

Comments
 (0)