Repository navigation
Commit 7abc88e
fix(relay): retire the old holder when too many channels are named
The named-channel limit added for `#d` sent a bare CLOSED and returned
before the REQ claimed its ID. A same-ID REQ that named more than 2048
channels by group-state `#d` therefore left the previous live
subscription or artifact sync registered, with its topics retained,
under an ID the client was told is closed.
Refuse it through `close::refuse`, like the `#h` limit beside it: the
old holder is retired under the lifecycle lock, and the connection is
cancelled if CLOSED cannot be queued.
Signed-off-by: Logan Johnson <[email protected]>
Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>1 parent 9c30155 commit 7abc88e
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2554 | 2554 | | |
2555 | 2555 | | |
2556 | 2556 | | |
2557 | | - | |
| 2557 | + | |
| 2558 | + | |
2558 | 2559 | | |
2559 | 2560 | | |
2560 | 2561 | | |
| |||
2581 | 2582 | | |
2582 | 2583 | | |
2583 | 2584 | | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
2584 | 2590 | | |
2585 | 2591 | | |
2586 | 2592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
0 commit comments