Commit Graph
102 Commits
Author SHA1 Message Date
Henrik Rydgård 5b717cab04 HTTPClient: Fix issue with HTTP redirects 2024-05-28 11:16:10 +02:00
Herman Semenov f75d7d13a0 [Net/Web] Fixed strict reduce types to 32 bit sizes, changed to memsize 2024-05-11 19:43:13 -05:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård deffbea75f HTTPClient: Fix socket leak on connect failure 2024-01-23 11:05:03 +01:00
Henrik Rydgård 78de59a479 HTTPS through naett: Get the body of the response even if code isn't 200.
This is required for rcheevos to parse errors properly - it ignores the
error code and parses it out of the body instead.
2023-12-31 00:11:36 +01:00
Henrik Rydgård 9c1fd06c2f Various fixes to PathBrowser etc to handle browsing HTTP subfolders 2023-12-29 21:34:24 +01:00
Henrik Rydgård f42e9d94a3 Show the tilt input type directly on the item that goes to the tilt settings 2023-12-29 14:10:03 +01:00
Henrik Rydgård e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård a416d94e38 CHD over http wasn't actually working, disable again until it can be fixed 2023-12-29 12:19:06 +01:00
Henrik Rydgård e6bc3d83f8 Logging improvement 2023-12-29 11:44:22 +01:00
Henrik Rydgård 2160abb5ec Web server: Send 404 as appropriate 2023-12-29 11:21:14 +01:00
Herman Semenov 309f0d97f2 [Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer 2023-12-14 19:26:10 +03:00
Henrik Rydgård 31c85ae0a5 Add the basics of a played-time tracker. 2023-11-26 19:15:38 +01:00
Henrik Rydgård 19eeaef2ea More uses of string_view 2023-11-13 23:36:34 +01:00
Nemoumbra 7b91e0d626 Fixed the encoding of the culture-dependent DNS resolver error messages (Windows) 2023-10-23 12:04:49 +03:00
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 dfe187df1e Allow disabling HTTPS through the config file
Simply set:

```ini
[General]
DisableHTTPS = True
```

Added to help debug issue #17969
2023-08-24 21:28:30 +02:00
Unknown W. Brackets 94f7231e73 net: Fix request cancelling.
Was broken in #17737.
2023-07-25 19:42:37 -07:00
Henrik RydgårdandGitHub 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
Hoe Hao Cheng 9305870cca Fix a segfault in ReadAllWithProgress 2023-07-23 01:18:08 +08: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 ac6301db47 Use the new function in patched naett to update user agent 2023-07-21 18:23:33 +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 61db21b12d Cleanup, fix so we can run RetroAchievements with https, and start doing that 2023-07-21 10:49:01 +02:00
Henrik Rydgård 9decdd198e Address more feedback, minor cleanup 2023-07-21 10:30:06 +02:00
Henrik Rydgård 96a75f9fc4 naett: Set timeout, POST body, etc. Just missing user agent 2023-07-21 10:28:32 +02:00
Henrik Rydgård ab6e902fea Make naett work on Android, UWP, Mac. Exclude on Linux 2023-07-21 10:28:31 +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 e2cc835c2b Setup build for new file HTTPNaettRequest 2023-07-21 10:27:40 +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 f6fdaa4f56 Get it to recognize the hash by using the rcheevos hash implementation 2023-06-26 10:01:41 +02:00
Henrik Rydgård 0983927319 Comment cleanup 2023-06-17 23:19:23 +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
Andreas Stieger 822592c6b1 Fix build with GCC13: various standard includes 2023-04-05 00:20:14 +02:00