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

Increase Header size limit or add Cookie option: Getting [fatal] header is too large #218

Open
dcoracle opened this issue Jan 13, 2023 · 4 comments

Comments

@dcoracle
Copy link

Our organization uses cookie session headers that are larger than the current header limit that siege has.

Looking at one of our payloads, it is just shy of 3500 where siege has it set at 2048.

Suggest either increasing header limit or create a new option just for Cookies since it is often larger than 2048

In src/main.c:

if((strlen(optarg) + strlen(my.extra) + 3) > 2048)
NOTIFY(FATAL, "header is too large");

@JoeDog
Copy link
Owner

JoeDog commented Jan 13, 2023 via email

@dcoracle
Copy link
Author

Thanks for the quick response and for the suggestion!

@dcoracle
Copy link
Author

dcoracle commented Jan 13, 2023

Quickly looking at SO, the standard seems to leave it up to implementation. 8K seems like a good practical limit: https://stackoverflow.com/questions/686217/maximum-on-http-header-values

@JoeDog
Copy link
Owner

JoeDog commented Jan 13, 2023 via email

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