Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Stability fixes and spdy upgrade #83

Merged
merged 3 commits into from
Nov 13, 2018
Merged

Stability fixes and spdy upgrade #83

merged 3 commits into from
Nov 13, 2018

Conversation

jacobheun
Copy link
Contributor

@jacobheun jacobheun commented Nov 9, 2018

This PR improves the stability of the spdy transport. This has also been tested against the libp2p test suite. You can check those tests in libp2p/js-libp2p#271, where this branch is temporarily being used.

  • Updates dependencies, including the latest spdy-transport
  • Improves error handling
  • Improves stream creation
  • .end now supports callback being optional
  • Adds files to package.json to ensure no unwanted files are published to npm

Dependes on libp2p/interface-stream-muxer#50

chore: update deps
chore: remove test on pre-push
chore: remove non jenkins ci files
chore: fix aegir test commands
chore: fix linting
fix: make callback optional
fix: improve stability
@ghost ghost assigned jacobheun Nov 9, 2018
@ghost ghost added the in progress label Nov 9, 2018
chore: restrict files for npm publishing

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Once interface-stream-muxer is released, and package.json updated, it can be merged

})
})

// This logic can be removed once spdy-transport doesn't emit empty errors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a todo here to have the linter to track this for future removal?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good call. I will add a todo in there when I update the stream muxer dep.

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
@jacobheun jacobheun merged commit afe8fd7 into master Nov 13, 2018
@jacobheun jacobheun deleted the test/fix branch November 13, 2018 17:56
@ghost ghost removed the in progress label Nov 13, 2018
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.

2 participants