Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

fix: ensure timeline.close is set #113

Merged
merged 3 commits into from
Sep 19, 2019
Merged

fix: ensure timeline.close is set #113

merged 3 commits into from
Sep 19, 2019

Conversation

jacobheun
Copy link
Contributor

The latest interface-transport includes tests to ensure timeline values are set properly. This exposed a bug where we did not set close when the socket ended without calling close on the MultiaddrConnection explicitly. This fixes that by listening for the close event on the socket from the start.

I removed multiaddr('/dns4/ipfs.io') from the compliance list of addresses. filter is now tested in interface-transport and it shows that this is not a valid TCP address. DNS addresses should be resolved into TCP addresses before being passed to the transport.

It should be resolved first

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
They are generated and uploaded on release

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
@jacobheun jacobheun merged commit 605ee27 into master Sep 19, 2019
@jacobheun jacobheun deleted the fix/timeline branch September 19, 2019 13:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants