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

getString() timeouts when the response is empty (return code 204) #6919

Open
Cadence-GitHub opened this issue Dec 17, 2019 · 1 comment
Open

Comments

@Cadence-GitHub
Copy link

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:
tobiasschuerg/InfluxDB-Client-for-Arduino#25

@Jeroen88
Copy link
Contributor

See PR #6476

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