Skip to content

Fix body recv when no content-length #137

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

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

us3r64
Copy link
Contributor

@us3r64 us3r64 commented Jan 15, 2024

When there is no content-length key in the request headers, asking for bytes from the socket is going to always timeout because there is no data or shouldn't be any, since the no content-length.

Fixes #138

@dhalbert dhalbert merged commit 69fbae3 into adafruit:main Jan 15, 2024
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 23, 2024
@us3r64 us3r64 deleted the fix/wsgiserver branch February 2, 2024 13:29
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.

WSGI server recv with no content-length key headers
2 participants