Commit 171e36a
authored
transport: Reject secondary connections with different connection IDs (#176)
This PR ensures that the transport manager rejects secondary
connections.
When the secondary connection is rejected, the internal `dial_record` is
preserved.
Added a test to validate this behavior, with multiple wrong endpoints.
Part of: #172
Will keep the issue opened for to further into it.
cc @paritytech/networking
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>1 parent fc8792d commit 171e36a
3 files changed
Lines changed: 299 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments