Skip to content

Commit

Permalink
Update tungstenite to 0.17.2 (#973)
Browse files Browse the repository at this point in the history
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 <hello@jxs.pt>
  • Loading branch information
emixa-d and jxs committed Jun 4, 2022
1 parent c4edf4c commit 11169f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -37,7 +37,7 @@ tokio-stream = "0.1.1"
tokio-util = { version = "0.7", features = ["io"] }
tracing = { version = "0.1.21", default-features = false, features = ["log", "std"] }
tower-service = "0.3"
tokio-tungstenite = { version = "0.15", optional = true }
tokio-tungstenite = { version = "0.17", optional = true }
percent-encoding = "2.1"
pin-project = "1.0"
tokio-rustls = { version = "0.23", optional = true }
Expand Down
1 change: 1 addition & 0 deletions src/filters/ws.rs
Expand Up @@ -373,6 +373,7 @@ impl Message {
protocol::Message::Ping(ref v) => v,
protocol::Message::Pong(ref v) => v,
protocol::Message::Close(_) => &[],
protocol::Message::Frame(ref frame) => frame.payload(),
}
}

Expand Down

0 comments on commit 11169f2

Please sign in to comment.