Commit a211674
authored
make passive heartbeat case respond async (#299)
## Why
- we've traded all of our `received out-of-order msg, closing
connection` for `invariant violation: would have sent out of order msg`
- why are we sending things out of order? lets get more info
## What changed
- we should never hit the construct on consumed session case but lets
triple quadruple check
- also track last 10 constructed messages
<!-- Describe the changes you made in this pull request or pointers for
the reviewer -->
## Versioning
- [ ] Breaking protocol change
- [ ] Breaking ts/js API change
<!-- Kind reminder to add tests and updated documentation if needed -->1 parent 161d5f7 commit a211674
File tree
5 files changed
+17
-5
lines changed- transport/sessionStateMachine
5 files changed
+17
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
230 | 236 | | |
231 | 237 | | |
232 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
284 | 288 | | |
285 | 289 | | |
286 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1958 | 1958 | | |
1959 | 1959 | | |
1960 | 1960 | | |
1961 | | - | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
1962 | 1964 | | |
1963 | 1965 | | |
1964 | 1966 | | |
| |||
0 commit comments