Commit 66f7f37
authored
[Web] Handle LocalSession init in WASM RPC server (#18687)
## Why
When a client connects without session_constructor_args, the RPC
protocol sends nargs=0 (LocalSession request). The WASM RPC server
requires ["rpc.WasmSession", wasm_binary] instead.
## How
Adds handling to skip LocalSession init packets and wait for the proper
WasmSession init, with a log message for debugging.1 parent 87f478e commit 66f7f37
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
231 | 241 | | |
232 | 242 | | |
233 | 243 | | |
| |||
0 commit comments