warp-Update-tungstenite-to-0.17.2.patch 976 B

123456789101112131415161718192021222324252627282930313233
  1. From 7a5bd7585d39632aa320e475467a48ea414cb9d6 Mon Sep 17 00:00:00 2001
  2. From: Maxime Devos <maximedevos@telenet.be>
  3. Date: Mon, 30 May 2022 17:39:17 +0000
  4. Subject: [PATCH] Update tungstenite to 0.17.2
  5. The build system I use hasn't implemented tests yet
  6. and uses a different dependency resolving system,
  7. so best double-check.
  8. Submitted upstream at <https://github.com/seanmonstar/warp/pull/973>.
  9. Cargo.toml changes don't apply cleanly so they have been removed
  10. from the patch in Guix.
  11. ---
  12. src/filters/ws.rs | 1 +
  13. 1 file changed, 1 insertions(+), no deletions
  14. diff --git a/src/filters/ws.rs b/src/filters/ws.rs
  15. index dd3b9d4..14a8d8a 100644
  16. --- a/src/filters/ws.rs
  17. +++ b/src/filters/ws.rs
  18. @@ -373,6 +373,7 @@ impl Message {
  19. protocol::Message::Ping(ref v) => v,
  20. protocol::Message::Pong(ref v) => v,
  21. protocol::Message::Close(_) => &[],
  22. + protocol::Message::Frame(ref frame) => frame.payload(),
  23. }
  24. }
  25. --
  26. 2.30.2