chromephp icon indicating copy to clipboard operation
chromephp copied to clipboard

Check HTTP header size

Open shashenko opened this issue 11 years ago • 4 comments

shashenko avatar Nov 29 '13 07:11 shashenko

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.

okonomiyaki3000 avatar Jun 26 '14 04:06 okonomiyaki3000

cc @ccampbell

Oxicode avatar Jun 21 '16 22:06 Oxicode

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.

dulldusk avatar May 14 '17 07:05 dulldusk

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

hopeseekr avatar May 15 '19 05:05 hopeseekr