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 info.max_http_header_data to max value of 65535 #1088

Merged
merged 1 commit into from Apr 27, 2023

Conversation

oli4vr
Copy link
Contributor

@oli4vr oli4vr commented Mar 18, 2023

I would like to increase info.max_http_header_data to 65535 to resolve issues when you have to deal with large http headers.

@tsl0922 tsl0922 merged commit 945462a into tsl0922:main Apr 27, 2023
13 checks passed
@oli4vr oli4vr deleted the oli4vr/max_http_header_data branch October 16, 2023 10:34
@djwdj
Copy link

djwdj commented Oct 17, 2023

old lws no run http

old lws : short max_http_header_data;
max: 32767

new lws:unsigned short max_http_header_data;
max: 65535

old lws patch:

cat <<j8 |patch -p0
+++ src/server.c
@@ -325,0 +326 @@
+  if(info.max_http_header_data < 0) info.max_http_header_data = 32767;
j8

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.

None yet

3 participants