Closed budziam closed 2 years ago
It looks like system2 doesn't work under sourcemod 1.11. The following code makes server crash
void Server_LoadConfig() { System2HTTPRequest httpRequest = new System2HTTPRequest(HttpResponseCallback, "http://example.com?action=test"); httpRequest.GET(); delete httpRequest; } public void HttpResponseCallback(bool success, const char[] error, System2HTTPRequest request, System2HTTPResponse response, HTTPRequestMethod method) { PrintToServer("Request done"); }
Logs
terminate called without an active exception PreMinidumpCallback: updating dump comment DBG DBG 6 OTHER Crash crash_20220930233105_2.dmp[55382]: Uploading dump (out-of-process) /tmp/dumps/crash_20220930233105_2.dmp srcds_run: line 318: 55350 Aborted (core dumped) $HL_CMD cat: hlds.55338.pid: No such file or directory email debug.log to linux@valvesoftware.com pią, 30 wrz 2022, 23:31:05 CEST: Server restart in 10 seconds crash_20220930233105_2.dmp[55382]: Finished uploading minidump (out-of-process): success = yes crash_20220930233105_2.dmp[55382]: response: Discarded=1 crash_20220930233105_2.dmp[55382]: file ''/tmp/dumps/crash_20220930233105_2.dmp'', upload yes: ''Discarded=1'' pią, 30 wrz 2022, 23:31:12 CEST: Server Quit
It looks like system2 doesn't work under sourcemod 1.11. The following code makes server crash
Logs