James R
44e1b6cd22
masterserver_token is back
...
(cherry picked from commit 44af4705bb )
2020-07-11 17:41:09 -07:00
James R
63ca2cb5ff
Set timeout on HMS connections
...
(cherry picked from commit 42484ae5ca )
2020-07-11 17:41:09 -07:00
James R
3aa4d2bfa8
Resize response body buffer as needed
...
(cherry picked from commit a73e4f135e )
2020-07-11 17:41:09 -07:00
James R
08ea4afb64
Jart? What's that?
2020-05-15 12:57:31 -07:00
James R
3f64836777
This is SRB2
2020-05-14 17:29:36 -07:00
James R
94e77ba652
Rename hms123311.c to http-mserv.c
...
HMS lives on in our hearts!
(cherry picked from commit 8a006fef18 )
2020-05-14 17:28:55 -07:00
James R
bcf7bf4816
Use Unlock_state here too
...
(cherry picked from commit f82ff5c3e7 )
2020-05-14 17:28:55 -07:00
James R
177134e262
ok
2020-05-13 17:52:49 -07:00
James R
5b382d6ede
Revert "Use new two digit version number for HMS"
...
This reverts commit 0e403bf7f2 .
2020-05-13 17:31:51 -07:00
James R
380793bc0a
Bind HMS connection with -bindaddr
2020-05-13 17:26:53 -07:00
James R
760cf9c6ff
Reset the masterserver address if the old one was set by the config
2020-05-13 17:26:34 -07:00
James R
8cb7b79edc
Clarify where debug prints go when using masterserver_debug
2020-05-13 17:26:34 -07:00
James R
bae3c536f9
Use IPv4 for master server connections
...
Your server's address is gathered from the request, so it needs to be IPv4!
2020-05-13 17:26:34 -07:00
James R
0e403bf7f2
Use new two digit version number for HMS
2020-05-13 17:26:34 -07:00
James R
9b22950fd2
Oops a debug condition snuck in there
2020-05-13 17:26:34 -07:00
James R
374fed02ad
Fix switching the master server
2020-05-13 17:26:34 -07:00
James R
77cb76a8a6
Put some mutex on CONS_Printf etc. hahaha
2020-05-13 17:26:34 -07:00
James R
635e55e993
Fucking multithreading in the server registration
...
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2020-05-13 17:25:52 -07:00
James R
37fc2496de
Wait for threads before SDL_Quit (lol)
2020-05-13 17:25:52 -07:00
James R
2be0e09432
Create cond if it doesn't exist when signaling
2020-05-13 17:25:52 -07:00
James R
d0a674c142
Use malloc for hms
2020-05-13 17:25:52 -07:00
Steel Titanium
97ba63424f
Support for http downloads
...
(cherry picked from commit 5e0eca9fe9 )
(cherry picked just the libcurl stuff)
2020-05-13 17:25:52 -07:00
James R
1e64eae0c7
Make mod update, room list and server list multithreaded
...
This took fucking ages and it still fails sometimes in edge cases, but I
don't give a FUCK right now.
2020-05-13 17:24:27 -07:00
James R
3312743a66
Multithreading in my SRB2???
2020-05-13 17:21:19 -07:00
James R
79ce8a4bfc
WHY THE FUCK DID I DO THIS
2020-05-13 17:21:18 -07:00
James R
5d6a199a01
Oops
2020-05-13 17:21:18 -07:00
James R
1567703101
Handle NULL hms buffer
2020-05-13 17:21:18 -07:00
James R
9bf1f11f91
Compiler errors: won't stop, can't stop
2020-05-13 17:21:18 -07:00
James R
5bcce64053
masterserver_update_rate cvar determines wait between updates in minutes
...
The new default is 15 minutes as well. And if you think that's too long, I have
confirmed that the Master Server delists inactive servers after a whopping 40
minutes, at least.
2020-05-13 17:20:59 -07:00
James R
6787f77304
Don't try to update right after registering
2020-05-13 17:20:59 -07:00
James R
717ab3526a
Add a hack so the 'All' room isn't display for hosting
2020-05-13 17:20:59 -07:00
James R
8893243c78
Kill the old mserv, long live HMS!
2020-05-13 17:20:59 -07:00
James R
ba786e7cf8
Clean up header text
2020-05-13 17:18:27 -07:00
James R
35e4bf9f33
HTTP update alert
2020-05-13 17:18:27 -07:00
James R
5f032789f3
Fix some goofs
2020-05-13 17:18:27 -07:00
James R
b48f5ecce6
Bruh
2020-05-13 17:18:27 -07:00
James R
bb2e2fddae
Clean up a bunch of stuff and follow the Master Server API more closely
2020-05-13 17:18:27 -07:00
James R
b63e473d5b
Windows certs do work, thanks Steel!
2020-05-13 17:18:27 -07:00
James R
8bd1a6ee90
Handle more errors
2020-05-13 17:18:27 -07:00
James R
c08d9a1329
Kill masterserver_token
2020-05-13 17:18:27 -07:00
James R
bb0aa4ce4e
This will be the Master Server in 2020
2020-05-13 17:18:27 -07:00
James R
12788f6491
Use https because my web server redirects
2020-05-13 17:18:27 -07:00
James R
eec6a82882
strtok can return NULL
2020-05-13 17:18:27 -07:00
James R
f9260dedee
This time I fucked up
2020-05-13 17:18:27 -07:00
James R
be4dda2fc4
Windows gaysed: the sequel
2020-05-13 17:18:27 -07:00
James R
975165c424
Windows is weird
2020-05-13 17:18:27 -07:00
James R
a5d65b2ede
masterserver_debug to set CURLOPT_VERBOSE
2020-05-13 17:18:27 -07:00
James R
d2590e3a76
Don't show "All" room when hosting
2020-05-13 17:18:27 -07:00
James R
77642a7cda
I don't even know my own website
2020-05-13 17:18:26 -07:00
James R
6f9b548840
lol
2020-05-13 17:18:26 -07:00