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

fix: support bufferlist usage #97

Merged
merged 1 commit into from
Oct 30, 2019
Merged

fix: support bufferlist usage #97

merged 1 commit into from
Oct 30, 2019

Conversation

jacobheun
Copy link
Contributor

several it-* modules leverage bufferlist, but ws does not. We need to convert buffer lists to buffers before handing the data off to ws for transmission

libp2p-tcp does this, https://github.com/libp2p/js-libp2p-tcp/blob/master/src/socket-to-conn.js#L22-L27

several it-* modules leverage bufferlist, but ws does not. We need to convert buffer lists to buffers before handing the data off to ws for transmission

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

@jacobheun jacobheun merged commit 3bf66d0 into master Oct 30, 2019
@jacobheun jacobheun deleted the fix/bl branch October 30, 2019 13:23
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