-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
WebSocket connect seems to be blocking function. If one tries to connect to a URL with the connect() function and the server reaches a processing error or has a long delay in processing the URL. A response is not given. The function hangs and eventually the ESP32 watchdog triggers a reset.
To Reproduce
Steps to reproduce the behavior.
- Create WS server that receives url and processes it. Include long delay in process or runtime error in processing
- Try to connect to WS with ESP32
Expected behavior
I believe their should be connection timeout limit that will abort a connection request if a response is not received in time. Otherwise, this vulnerability could be exploited by servers to reset ESP32 or freeze them.
Additional context
Thanks for making this library :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed