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

do not send PUSH_PROMISE if the push is cancelled for a synchronous handler #486

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Sep 8, 2015

Especially in case of cache-aware server push, pushed requests are often cancelled. However, even in such case the server was sending PUSH_PROMISE frame if the handler that served the request was running synchronously (e.g. file handler).

This PR fixes the issue.

@kazuho kazuho added the http2 label Sep 8, 2015
@kazuho kazuho added this to the v1.5 milestone Sep 8, 2015
kazuho added a commit that referenced this pull request Sep 8, 2015
…when-cancelling-sync-handler

do not send `PUSH_PROMISE` if the push is cancelled for a synchronous handler
@kazuho kazuho merged commit 2e821bd into master Sep 8, 2015
@kazuho
Copy link
Member Author

kazuho commented Sep 11, 2015

note: regression in #421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant