Repository navigation
Commit 5a0127e
committed
docs: deadlock warning for server-to-client requests during initialize
initialize is handled inline (the dispatcher parks the read loop until
the handler - middleware included - returns), so awaiting a peer
response on that path can never dequeue the response. Warn on
ServerMiddleware; TODO at the initialize branch: rework initialization
into a pure incoming middleware and add an outgoing-middleware seam
whose default chain blocks server-to-client requests when the
negotiated protocol version requires initialization and the connection
is neither initialized nor stateless.1 parent 37c28c6 commit 5a0127e
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
262 | 271 | | |
263 | 272 | | |
264 | 273 | | |
| |||
0 commit comments