-
Notifications
You must be signed in to change notification settings - Fork 12
[WIP] Move to pull-streams #16
Conversation
@@ -2,7 +2,7 @@ | |||
"name": "libp2p-spdy", | |||
"version": "0.8.1", | |||
"description": "SPDY 3.1 implementation wrapper that is compatible with libp2p Stream Muxer expected interface", | |||
"main": "lib/index.js", | |||
"main": "src/index.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- change before merge
Have you run the https://github.com/libp2p/interface-stream-muxer tests? I would love to see a Let's also have tests for:
|
I haven't run them yet, I will go and update them + move them to |
They can be run on release, but not every single as they take some quite of time to finish. |
Getting consistent:
on the:
|
More detailed:
|
@dignifiedquire could you push an update to this branch with the remove of the throttle on stress tests and the pointer to the forked version of spdy? |
@diasdavid done |
@dignifiedquire still missing these tests: |
It's not using the same test system anymore, but here are the before and after times
|
@diasdavid could you write some pseudo code for the tests you are suggesting, I'm not entirely sure what you want. |
@dignifiedquire added more info there - #16 (comment) |
tcp = new Tcp() | ||
}) | ||
|
||
it('attach to a websocket, as listener', (done) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be to a tcp socket
4d23827
to
601a4d9
Compare
Last things for the merge
|
test exists, but fails, not sure why though :(
|
@dignifiedquire you mentioned that spdy is build to destroy all the muxedConns if we call it to end. If that is the case, then it should close all the streams and not wait for them to finish. what is the raw Node.js stream? the one spdy is mounted on top? One more thing:
|
This was a misunderstanding from my side. Calling
|
awesome, so it doesn't abruptly all flowing streams, that is what I thought :) |
that's what the test currently does, send data on 5 streams delayed, and trigger |
No description provided.