getString() timeouts when the response is empty (return code 204)
Open
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 13.1k
- PR merge metrics
- No merged PRs in 30d
Description
When an empty HTTP response is received with response code 204 (which is a valid response), the getString() call will wait for data until it timeouts. Instead, it should figure out from the response code that there is no data to be received, and should not wait unnecessarily.
A real life example of his this can affect legitimate traffic can be seen here:
https://github.com/tobiasschuerg/ESP8266_Influx_DB/issues/25
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.