Increase response size limit for ImStructViewer to 256Mb

This commit is contained in:
Nemoumbra committed 2026-11-10 21:51:45 +03:00
1 parent efdf633d8a
commit 69bc6ef8d8
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();