Kawe Mazidjatari
16910aa45c
Use custom string formatter
...
Enforce consistency through code base by using the same format specifiers.
2023-04-08 10:50:32 +02:00
Kawe Mazidjatari
9f428f1567
Move tier0 lib headers to public
...
This commit does not change any logic or behavior of the code.
2023-04-06 23:50:48 +02:00
Kawe Mazidjatari
0c5a24152e
/W4: Fix name shadowing warnings
...
Parameter 'hostname' shadows global cvar 'hostname'.
2023-04-02 17:40:15 +02:00
Kawe Mazidjatari
b3621ba53a
Add cvar 'curl_timeout'
...
New cvar for setting the curl timeout determined in function 'CURLInitRequest'.
2023-03-15 21:33:16 +01:00
Kawe Mazidjatari
dcf6d12ae1
Fix memory leak in Curl util code
...
'curl_slist' pointer should be passed in as reference, as its destroyed elsewhere.
2023-02-09 22:56:13 +01:00
Kawe Mazidjatari
66f31916d1
Pylon logic imporvements
...
* Removed duplicate json parsing that was part of a PR that required a small refactor.
* Only check if response buffer is empty when we are going to parse the error message (this helps finding bugs in master server, since failure to parse has an exception handler).
* Log private server token and error messages to dedicated server console.
2023-02-04 19:18:18 +01:00
Kawe Mazidjatari
ca9143dde9
Add curl cvars for debugging
2023-01-30 00:04:11 +01:00
Kawe Mazidjatari
6c21fc5b7a
Create libcurl wrappers
...
Created wrappers which are currently focused on master server queries. This avoids boiler plating and manual deleting.
2023-01-26 19:54:38 +01:00