We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b716b commit 2ad6407Copy full SHA for 2ad6407
websocket/src/websocket.cpp
@@ -501,7 +501,7 @@ static int LuaConnect(lua_State* L)
501
}
502
503
WebsocketConnection* conn = CreateConnection(url);
504
- conn->m_ConnectTimeout = dmTime::GetTime() + timeout * 1000;
+ conn->m_ConnectTimeout = dmTime::GetMonotonicTime() + timeout * 1000;
505
conn->m_CustomHeaders = custom_headers ? strdup(custom_headers) : 0;
506
conn->m_Protocol = protocol ? strdup(protocol) : 0;
507
0 commit comments