Merge pull request #23032 from hrydgard/ghidra-client-uncap

Increase response size limit for ImStructViewer to 256Mb
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-11-10 20:13:40 +01:00
commit 55d87956fc
2 files changed
+4

No files matched your search

+2
View File
@@ -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;
+2
View File
@@ -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();