Commit Graph

44 Commits

Author SHA1 Message Date
Henrik Rydgård
546f9d7743 Some cleanups and fixes to obscure crashes 2023-09-24 13:05:25 +02:00
Unknown W. Brackets
4a2cd1bb7b http: Fix errors on connect. 2023-09-23 13:05:01 -07:00
Henrik Rydgård
388a34cdf1 HTTPClient: On Windows, we have to permit connect to "fail" with an errno of 0. Wacky. 2023-09-17 22:40:29 +02:00
Henrik Rydgård
33ab45557a remove redundant log 2023-09-17 17:39:17 +02:00
Henrik Rydgård
377892bc22 Improve logging 2023-09-17 17:37:45 +02:00
Henrik Rydgård
24bc0b067b Don't leak the sockets that won't connect 2023-09-17 17:23:58 +02:00
Henrik Rydgård
0421607c00 Fix HTTP connect on linux (need to ignore failed connections in the select) 2023-09-17 17:19:24 +02:00
Henrik Rydgård
6d28ccbd8e Add HTTP log channel, and make ACHIEVEMENTS a proper one. 2023-08-25 13:53:46 +02:00
Henrik Rydgård
0afd313371 Merge pull request #17770 from unknownbrackets/http-proxy-hang
http: Fix hang on early close
2023-07-23 23:56:07 +02:00
Unknown W. Brackets
f70030fa5b http: Fix hang on early close. 2023-07-23 14:31:43 -07:00
Henrik Rydgård
eb14c87a71 Allow configuring the game language separately from the PPSSPP UI language, with a new setting. 2023-07-23 11:30:04 +02:00
Henrik Rydgård
93bb113009 Common: Rename Download to Request, and the old Request to ServerRequest. 2023-07-21 22:12:00 +02:00
Henrik Rydgård
9535b16740 Use the patched naett functions to implement progress updates 2023-07-21 18:23:33 +02:00
Henrik Rydgård
fbd980bee6 Get basic Naett requests to work (the store works in https mode) 2023-07-21 10:28:17 +02:00
Henrik Rydgård
f13a07f19b Break out Download and RequestManager into its own file 2023-07-21 10:27:40 +02:00
Henrik Rydgård
64eff0dc0b Insert a virtual base class for Download 2023-07-21 10:27:40 +02:00
Henrik Rydgård
370bb4c315 More progressbar improvements 2023-07-18 15:52:14 +02:00
Henrik Rydgård
ecea3844b0 Improved progress bar popups for downloads
Now shows the filename, and also there's a delay mode where they'll only
be visible if the download takes more than a second, plus they can be
named.
2023-07-18 15:13:44 +02:00
Henrik Rydgård
84d9b7e75d HTTP user agent plumbing 2023-07-14 15:24:34 +02:00
Henrik Rydgård
31a6cecef9 Allow specifying content-type for posts instead of hardcoding. 2023-06-17 23:18:23 +02:00
Henrik Rydgård
71cb766393 Fix re-entrancy issue in Downloader 2023-06-17 23:18:23 +02:00
Henrik Rydgård
3bc2aaf7ca Set MIME type "correctly" (at least for retro purposes) for POSTs 2023-06-17 23:18:23 +02:00
Henrik Rydgård
601e767e3b HTTPClient: Generalize Download to support GET and POST 2023-06-17 23:18:23 +02:00
Henrik Rydgård
b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00