-
Notifications
You must be signed in to change notification settings - Fork 554
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
Change TCP timeout #661
Comments
I'm using some time critical functions on my ESP32 and I noticed that when it disconnects from the websocket server (ESP32 is the client) it is completely blocked for 5 seconds (=WEBSOCKETS_TCP_TIMEOUT). How can I make this part non-blocking? I don't think lowering this value is really the solution? |
Hi, Could someone explain why it's set to such huge value at all? Even few kB of data will not need such much time to be send in single message. We can at least wrap it between #IFNDEF and allow to redifine for external configuration.
This might need more adjustmenst depending on particular usage. Third usage of this in
is unknowm for me. Anyway I will create fork to fix that at least for myself and waiting for any response with better default values. |
Hi all,
will you add a method to change TCP timeout without manually altering the internal define
WEBSOCKETS_TCP_TIMEOUT
?The text was updated successfully, but these errors were encountered: