mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Merge pull request #23032 from hrydgard/ghidra-client-uncap
Increase response size limit for ImStructViewer to 256Mb
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -196,6 +196,8 @@ bool GhidraClient::FetchTypes() {
|
||||
|
||||
bool GhidraClient::FetchResource(const std::string &path, std::string &outResult) {
|
||||
http::Client http(nullptr);
|
||||
http.SetMaxResponseSize(maxResponseSize);
|
||||
|
||||
if (!http.Resolve(host_.c_str(), port_)) {
|
||||
pendingResult_.error = "can't resolve host";
|
||||
return false;
|
||||
|
||||
@@ -128,6 +128,8 @@ private:
|
||||
std::string host_;
|
||||
int port_ = 0;
|
||||
|
||||
static constexpr size_t maxResponseSize = 256 * 1024 * 1024;
|
||||
|
||||
bool FetchAllDo(const std::string &host, int port);
|
||||
|
||||
bool FetchSymbols();
|
||||
|
||||
Reference in new issue
Block a user