-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support onStreamRead for node 11.1 and above
- Loading branch information
Showing
1 changed file
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4e4aae8
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.
FWIW, I confirmed that these changes (transposed manually) fix this issue:
references: #363 and #350, others?
Unrelated to the error, but related to recent changes response.js line 18 is now throwing a deprecated message and needs to be updated (eventually) to
this.getHeaders()
, but since you don't care about the result you can just test the existence of the method -- versus invoking it.Thank you for your effort and Happy Holidays!
4e4aae8
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.
Has this fix been released? I'm just ran into this error.
4e4aae8
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.
no it has not.
4e4aae8
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.
When will this be released? I also have the same issue and it means I am unable to push my app live until I can use the latest version of Node (host only supports Node version >= 12)
4e4aae8
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.
Just tried this manually and it indeed fixes compatibility of spdy with Node >= 11 (tried with the latest 12.x).
Please publish this asap, many people will thank you :-)
4e4aae8
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.
Please commit this update. Many people are waiting for use spdy in node 12lts.
There are no justification to a bug like this with a year age and the correction not comitted.
4e4aae8
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.
Pure joy of using node :D