- Re-enable "parallel negotiation" if the dialer has 3 or more alternative protocols. PR 1934
- Update dependencies.
- Update dependencies.
- Ensure uniform outcomes for failed negotiations with both
V1andV1Lazy. PR 1871
-
Make the
V1Lazyupgrade strategy more interoperable withV1. Specifically, the listener now behaves identically withV1andV1Lazy. Furthermore, the multistream-select protocol header is now also identical, makingV1andV1Lazyindistinguishable on the wire. The remaining central effect ofV1Lazyis that the dialer, if it only supports a single protocol in a negotiation, optimistically settles on that protocol without immediately flushing the negotiation data (i.e. protocol proposal) and without waiting for the corresponding confirmation before it is able to start sending application data, expecting the used protocol to be confirmed with the response. -
Fix the encoding and decoding of
lsresponses to be spec-compliant and interoperable with other implementations. For a clean upgrade,0.8.4must already be deployed.
- During negotiation do not interpret EOF error as an IO error, but instead as a negotiation error. See libp2p#1823.
- Temporarily disable the internal selection of "parallel" protocol negotiation for the dialer to later change the response format of the "ls" message for spec compliance. See libp2p#1795.
-
Fix a regression resulting in a panic with the
V1Lazyprotocol. PR 1783. -
Fix a potential deadlock during protocol negotiation due to a missing flush, potentially resulting in sporadic protocol upgrade timeouts. PR 1781.
-
Update dependencies.
- Updated dependencies.