-
Notifications
You must be signed in to change notification settings - Fork 7.6k
WifiClient setTimeout problem #330
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
Comments
#377 might be related to this problem. |
Can you please try the latest code? |
seems to work now! I logged for 24h and all clients with no data requests are got the timeout :-) |
serverClients[i].setTimeout(1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wen setting a timeout:
Wificlient client = server.avalible();
client.setTimeout(2000);
...
while(client.connected()) {
if(client.availible()) {
...
this will have no effect.
If a client is connected and sends no data -> server hangs in the client.connected() loop because the timeout will not terminate the client.
The text was updated successfully, but these errors were encountered: