WilliamVenner / gmsv_reqwest

🌐 Drop-in HTTP replacement module for Garry's Mod
MIT License
63 stars 6 forks source link

Big suspend when invalid url provided #7

Open klen-list opened 1 year ago

klen-list commented 1 year ago
] version
Protocol version 24
Exe version 2022.06.08 (garrysmod)
Exe build: 18:31:37 Jun  1 2022 (8607) (4000)
GMod version 2022.06.10, branch: unknown, multicore: 1
Windows 32bit

Sometimes suspend lasts more than 2 minutes, which is enough for another module to turn off the server, considering it a hang, "resume" in process hacker helps to solve it faster

https://user-images.githubusercontent.com/49125075/212419452-15cd8fa5-b045-45a6-829a-048d8070bf8f.mp4

WilliamVenner commented 1 year ago

Seems to be a Gmod issue, it just hangs when you return an error through a module, for whatever reason

At first I thought it was doing a DNS lookup but it isn't. I made a module that simply returns an error, and it still hung for me.