From 9636ad9309f1159fe275effc6f0bbea075634bb1 Mon Sep 17 00:00:00 2001 From: shellrow Date: Sun, 1 Mar 2026 19:28:02 +0900 Subject: [PATCH 1/2] fix: replace deprecated method --- websock-wasm-mux/src/session.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/websock-wasm-mux/src/session.rs b/websock-wasm-mux/src/session.rs index 4f132ff..9be9f17 100644 --- a/websock-wasm-mux/src/session.rs +++ b/websock-wasm-mux/src/session.rs @@ -734,8 +734,8 @@ impl SessionInner { if batch_frames >= inner.limits.max_batch_frames || batch.len() >= max_bytes { break; } - match outbound_rx.try_next() { - Ok(Some(OutboundCmd::Frame(next_frame))) => { + match outbound_rx.try_recv() { + Ok(OutboundCmd::Frame(next_frame)) => { let next = next_frame.encode().freeze(); if !batch.is_empty() && batch.len() + next.len() > max_bytes { break; @@ -743,7 +743,6 @@ impl SessionInner { batch.extend_from_slice(&next); batch_frames += 1; } - Ok(None) => break, Err(_) => break, } } From d39682dccfb3fd4d747cd6d0c48892d26a16f428 Mon Sep 17 00:00:00 2001 From: shellrow Date: Sun, 1 Mar 2026 19:30:37 +0900 Subject: [PATCH 2/2] chore: update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 090fe0b..e0aecaf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Shintaro Ito +Copyright (c) 2026 foctal Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal