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

Update max_heaser_data from default(4K) to 20K #163

Merged
merged 1 commit into from
Mar 19, 2019

Conversation

shohey1226
Copy link
Contributor

@shohey1226 shohey1226 commented Mar 19, 2019

I've experienced Ran out of header data space while I have multiple sessions stored in my development server. (The different http servers runs on 3000,5000 and 8080 and stored cookie as a single domain) .
From an issue, libwebsocket has options to increase this. For now, just increase 5 times bigger than default(4096), which is sufficient for the most of the case, I believe.

Cookie section of request header is fat and it seems no way to control header from websocket JS api.
image

@shohey1226
Copy link
Contributor Author

Also related to #4

@shohey1226 shohey1226 changed the title Update max_heaser_data deafult from 4K to 20K Update max_heaser_data from default(4K) to 20K Mar 19, 2019
@tsl0922 tsl0922 merged commit 7f7bf3c into tsl0922:master Mar 19, 2019
nuwang added a commit to CloudVE/ttyd that referenced this pull request Mar 8, 2020
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.

2 participants