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

Check HTTP header size #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

shashenko
Copy link

No description provided.

@okonomiyaki3000
Copy link

This looks like a good idea but where did you come up with the number 200,000? I have doubts about that number.

In fact, while it seems there is a limit on the size of the request header, it's not clear to me that there is any such restriction on response headers. Even if there is, it seems the restriction should be on the cumulative size of all headers, not just one of them.

@Oxicode
Copy link

Oxicode commented Jun 21, 2016

cc @ccampbell

@dulldusk
Copy link

I´ve just posted a pull request with the solution for this problem. If the header exceeds 8k the user will reveive an error message from ChromePHP on the log, instead of an 500 Interval server error.

@hopeseekr
Copy link

This was addressed in the PR of my fork: PHPExpertsInc/chromephp#2.

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.

6 participants