Commit c81eb70
committed
driver: bugfix
Using maybeToList will cause the accumulator to hold the trailing
bytes twice. This will result in the annotator grabbing the wrong
fragments in raw format. The messages will decode properly; however
if these raw fragments are forwarded to other peers, they will be
rejected and the remote will close the connection.1 parent 74ba1f3 commit c81eb70
File tree
2 files changed
+17
-2
lines changed- ouroboros-network
- changelog.d
- framework/lib/Ouroboros/Network/Driver
2 files changed
+17
-2
lines changedLines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
327 | 326 | | |
328 | 327 | | |
329 | 328 | | |
330 | | - | |
| 329 | + | |
331 | 330 | | |
332 | 331 | | |
333 | 332 | | |
| |||
0 commit comments