Tamás Bálint Misius
9542f98b82
Preprocessor purge round 7: Config.template.h
2023-01-27 09:26:38 +01:00
Tamás Bálint Misius
e97fd74503
Preprocessor purge round 6: intro text and user agent
2023-01-27 09:26:38 +01:00
Tamás Bálint Misius
a57bb09d02
Target v141 toolset with msvc, update tpt-libs
...
Also reduce per-host connection count to 1, now that we support HTTP/2.
2022-10-29 08:42:39 +02:00
Tamás Bálint Misius
a3a874f4d6
Get png avatars from the static server
...
Also restore concurrent connection / stream counts, and fix a bug that would cause AvatarButtons to try to fetch avatars before they knew what name they belonged to. I apparently broke this in the first PNG commit.
2022-10-24 22:12:10 +02:00
Tamás Bálint Misius
59354731df
Remove all PTI code, use libpng to load avatars and thumbnails
...
Also write PNGs with libpng, and BMPs with SDL, and have the renderer only generate a large PNG thumbnail, and disable HTTP/2 multiplexing for now so we don't get banned when loading avatars.
simon pls reply to the stupid emails already.
2022-10-23 20:21:05 +02:00
Tamás Bálint Misius
09c2704928
Add CAFile and CAPath config options, use mbedtls in static builds
...
This is how we'll handle systems where the cert bundle and cert directory is stored where mbedtls doesn't expect it.
Also update tpt-libs to get new curl and mbedtls.
2022-09-25 06:13:35 +02:00
Tamás Bálint Misius
513d2cae3e
Update tpt-libs
...
Also restructure meson.build and the ghactions workflow a bit, and enable -ffunction-sections and -fdata-sections.
Note that starcatcher uploads have not been tested and most likely don't work.
2022-09-03 07:01:21 +02:00
Tamás Bálint Misius
b2ddb39b42
Add IDENT to user agent again
...
The server got fixed.
2022-03-26 18:35:23 +01:00
Tamás Bálint Misius
01e2c2d3f0
Remove new IDENT portion from user agent string
...
The server isn't prepared for it and fails requests that fiddle with the user session with an 500.
2022-03-26 17:43:48 +01:00
Tamás Bálint Misius
bfe94618c6
Include slightly more future-proof target type in user agent string
2022-02-22 08:10:18 +01:00
jacob1
f9d9951237
add extra failsafe in RequestManager when shutting down
2021-06-27 18:43:04 -04:00
jacob1
5dd4897fa4
Add somewhat ugly --nohttp option
...
used for the renderer to not include libcurl, because it isn't installed on the tpt server
2019-08-29 23:33:45 -04:00
jacob1
fb06e0028b
Add disable-network command line argument
2019-07-23 00:11:26 -04:00
Tamás Bálint Misius
0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00
Tamás Bálint Misius
2e76b10619
Use C++11 threads
2019-04-17 00:23:57 +02:00
Tamás Bálint Misius
ff39c82e48
Print libcurl error buffer to stderr on client error
2019-04-05 21:22:51 +02:00
Tamás Bálint Misius
6468a51ac1
Add more SSL client error strings
2019-04-04 01:39:11 +02:00
Tamás Bálint Misius
e07b133e5a
Another curl version-dependent feature thing
...
Seriously, who thought doubles were a good idea?
2019-03-23 10:30:26 +01:00
Tamás Bálint Misius
296b758193
Follow redirects and fix save loading by ptsave parameter
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
5916c9db9c
Fix a bunch of threading-related issues
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
fc8740f7d5
Add curl, rework Request and RequestManager a bit
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
7fb0b52d79
More renaming, remove a few useless .c_str()s and fix a URL that had previously contained Download and thus fell victim to my mindless text replacement tricks
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
30c7f6ded7
Rename Download* to Request* and move HTTP stuff inside src/client/http
2019-03-07 22:56:08 -05:00