Commit 513ccc3
committed
chore: drop write-only _InFlight.cancelled_by_peer; add assertion to notify-drop test
cancelled_by_peer was set by _dispatch_notification but never read; the
peer-vs-outer-cancel distinction in _handle_request relies on
scope.cancel_called alone (and works because nothing else cancels the
per-request scope).
test_runner_on_notify_drops_before_init_and_unknown_methods now
registers a handler and asserts only the post-init notification reaches
it (was assertionless before).1 parent 50134cb commit 513ccc3
2 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| |||
489 | 488 | | |
490 | 489 | | |
491 | 490 | | |
492 | | - | |
493 | 491 | | |
494 | 492 | | |
495 | 493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
258 | 264 | | |
259 | 265 | | |
260 | 266 | | |
261 | 267 | | |
262 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
263 | 271 | | |
264 | 272 | | |
265 | 273 | | |
| |||
0 commit comments