Skip to content

Add constants for better control of HTTP2 push#213

Merged
patryk merged 6 commits into
cloudflare:masterfrom
robbiet480:http2-push-constants
Jun 26, 2020
Merged

Add constants for better control of HTTP2 push#213
patryk merged 6 commits into
cloudflare:masterfrom
robbiet480:http2-push-constants

Conversation

@robbiet480
Copy link
Copy Markdown
Contributor

Added two constants to control HTTP2 server push behavior:

CLOUDFLARE_HTTP2_SERVER_PUSH_HEADER_SIZE - allows setting the max header size you can push. Useful for those (like me) that know exactly what fastcgi can push through.
CLOUDFLARE_HTTP2_SERVER_PUSH_LOG - setting this will enable the somewhat... shall we say spammy... error_log whenever a file is over the max header size

@patryk patryk merged commit 293353d into cloudflare:master Jun 26, 2020
@patryk
Copy link
Copy Markdown
Contributor

patryk commented Jun 26, 2020

Thanks!

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.

2 participants