-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server_push Crash with fs.createReadStream.pipe() #318
Comments
Seems it is not happy when several push streams are being created and the connection drops half way through. @yayo could you try to convert this to a test? |
@diasdavid I've recreated the @yayo example as a gist here: https://gist.github.com/matthewp/d5a26ba620fc921754f3ba4892a9b230 I tried to make it into a test but I was not successful. I think I don't understand the lower-level apis well enough yet. Is there a similar test that I could use as an example? Either way, what's the best way to debug this? Currently a bit of a blocker for me. |
An update on what is going on here. The issue is in spdy-transport.
Since the node was removed in (1) it fails in (2). I'm not sure what the proper solution is here @diasdavid @indutny. Should |
The root problem is that _removeNode removes the node from the |
When a node is removed it gets removed from the tree's `map` but not the tree's `list`, so this memory is leaked. This also fixes the assertion errors seen in spdy-http2#47 and spdy-http2/node-spdy#318 and elsewhere.
1、发现 使用backpack debug dev 导致程序卡死,然后刷新页面。相关问题 spdy-http2/node-spdy#318 2、删了debug 就好。等待后续测试
Is there a good way? |
refresh (F5) your browser quickly twice(or more), and it will crash !
may cause by exceed "transport.protocol.base.constants.MAX_PRIORITY_STREAMS"
The text was updated successfully, but these errors were encountered: