Skip to content
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

Allow the usage of push streams #19

Merged
merged 5 commits into from
Jul 29, 2019
Merged

Allow the usage of push streams #19

merged 5 commits into from
Jul 29, 2019

Conversation

szmarczak
Copy link
Owner

Push streams are disabled by default, but they can be enabled from now on.

Fixes #16

@szmarczak
Copy link
Owner Author

@pietermees If you could leave some feedback there, that would be great!

examples/request.js Outdated Show resolved Hide resolved
examples/agent.js Outdated Show resolved Hide resolved
@coveralls
Copy link

coveralls commented Jul 29, 2019

Pull Request Test Coverage Report for Build 204

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.7%) to 99.002%

Files with Coverage Reduction New Missed Lines %
source/index.js 1 86.67%
Totals Coverage Status
Change from base Build 193: -0.7%
Covered Lines: 381
Relevant Lines: 382

💛 - Coveralls

@@ -173,7 +178,7 @@ class Agent extends EventEmitter {
this._processQueue(name);
});

session.once('remoteSettings', () => {
session.once('localSettings', () => {
Copy link
Owner Author

Choose a reason for hiding this comment

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

Firstly we receive a SETTINGS frame from the server, then we receive an acknowledgement of our SETTINGS frame. At this point the connection is fully estabilished, we have everything we need to know.

Copy link

@pietermees pietermees left a comment

Choose a reason for hiding this comment

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

@szmarczak just did a quick scan of the PR but makes sense to me and nothing stood out as a problem!

@szmarczak szmarczak merged commit d2c4d2d into master Jul 29, 2019
@szmarczak szmarczak deleted the push-streams branch July 29, 2019 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should Push responses be cached?
3 participants