You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used by RecvTimeout() as a replacement for the default mbedtls_net_recv_timeout. I've tried switching from select to poll here but I'm getting SSL handshake timeouts when using equivalent code using poll instead of select.
Task (REQUIRED):
Sometimes SDKs use more than 1024 FD, if the engine a game use API that uses
select()
under the hood at the same time, than the game crashes.The engine uses
select()
in 6 files:qsa.c
- openAl/Alcwsocket.c
- luasocketusocket.c
- luasocketnet_sockets.c
- mdedtlssslsocket.c
- dlibsocket.cpp
- dlibselect()
(doc) should be replaced withpoll()
(doc) to avoid this crash.Expected outcome (REQUIRED):
No more crashes in such cases.
A couple of examples:
One more crash:
https://github.com/defold/extension-poco/blob/master/poco/lua/defold-poco.lua#L146
The text was updated successfully, but these errors were encountered: