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

Cancel duplicate push promises streams #111

Open
dpwspoon opened this issue Aug 19, 2018 · 1 comment
Open

Cancel duplicate push promises streams #111

dpwspoon opened this issue Aug 19, 2018 · 1 comment
Assignees

Comments

@dpwspoon
Copy link
Contributor

dpwspoon commented Aug 19, 2018

If the http2-cache.js gets 2 push promises for the same url opened, it should cancel one of them.

It is possible, that when requests for the same resource are sent with different authorization headers, the response could be cache-control: public or some other shareable cache directive. This will result in multiple push promise streams for the same resource.

http2-cache.js should cancel one of the push promises if the request urls are the same

@hthetiot
Copy link
Contributor

Need work on PR to handle cache directive a bit more i think

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

No branches or pull requests

2 participants