Skip to content

Comments

Increase info.max_http_header_data to max value of 65535#1088

Merged
tsl0922 merged 1 commit intotsl0922:mainfrom
oli4vr:oli4vr/max_http_header_data
Apr 27, 2023
Merged

Increase info.max_http_header_data to max value of 65535#1088
tsl0922 merged 1 commit intotsl0922:mainfrom
oli4vr:oli4vr/max_http_header_data

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
@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.

3 participants