mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
http: Set a more useful user agent.
This commit is contained in:
1 parent
e2e1c677cb
commit
a35b21a5d7
7 files changed
+19
-4
No files matched your search
@@ -117,6 +117,8 @@ bool RemoteISOConnectScreen::FindServer(std::string &resultHost, int &resultPort
|
||||
statusMessage_ = formatted;
|
||||
};
|
||||
|
||||
http.SetUserAgent(StringFromFormat("PPSSPP/%s", PPSSPP_GIT_VERSION));
|
||||
|
||||
auto TryServer = [&](const std::string &host, int port) {
|
||||
SetStatus("Resolving [URL]...", host, port);
|
||||
if (!http.Resolve(host.c_str(), port)) {
|
||||
|
||||
Reference in new issue
Block a user