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

POST request without body hangs and Client timeouts, must be in the Request parsing #21

Open
aaron-22766 opened this issue Mar 3, 2024 · 1 comment
Assignees

Comments

@aaron-22766
Copy link
Collaborator

No description provided.

@aaron-22766
Copy link
Collaborator Author

after parsing a POST request with Content-Length 0, state_ is still on stateParseMessageBody and therefore requestComplete() returns false, making the server wait for more to read. I think after the headers are parsed, check the content-length and if it's 0 return directly, setting state_ to requestOK...

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