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

Fix body recv when no content-length #137

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
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 23, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306 to 1.8.0 from 1.7.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306#38 from asmagill/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k to 5.0.5 from 5.0.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_Wiznet5k#134 from AdamCummick/correct-mac-error
  > Merge pull request adafruit/Adafruit_CircuitPython_Wiznet5k#137 from us3r64/fix/wsgiserver
  > Merge pull request adafruit/Adafruit_CircuitPython_Wiznet5k#139 from us3r64/fix/socket-recv-recv_into

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes to 2.8.2 from 2.8.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Shapes#69 from Karel-Kroeze/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_miniQR to 2.1.2 from 2.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_miniQR#28 from jamesbowman/main
  > Merge pull request adafruit/Adafruit_CircuitPython_miniQR#26 from jamesbowman/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
@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