Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set response limits on http server connections [0.18] #9775

Open
wants to merge 2 commits into
base: release-v0.18
Choose a base branch
from

Conversation

vtnerd
Copy link
Contributor

@vtnerd vtnerd commented Feb 6, 2025

Same as #9765 but on release 0.18 branch. @selsta

@plowsof
Copy link
Contributor

plowsof commented Feb 6, 2025

build errors
/monero/contrib/epee/include/net/http_server_handlers_map2.h:110:24: error: ‘misc_utils’ has not been declared

@vtnerd vtnerd force-pushed the improve/rpc_threshold_0.18 branch from df8b58b to fcad5b0 Compare February 6, 2025 23:57
…ied names

quick patch which fixes the issue where if you use some macros from `http_server_handlers_map2.h` you have to be in the `epee` namespace or it doesn't compile. Now can remove `using namespace epee;` from header file `core_rpc_server.h`, which caused a couple of name qualifying mistakes
@vtnerd vtnerd force-pushed the improve/rpc_threshold_0.18 branch from fcad5b0 to a2d574e Compare February 7, 2025 00:03
@vtnerd
Copy link
Contributor Author

vtnerd commented Feb 7, 2025

Yup. Sorry about that. I cherry picked a commit by @jeffro256 and included in this PR. The change is pretty simple, so I'm hoping reviewers won't turn away the additional changes (they are basically needed, or using namespace epee in the tests has to be added).

@vtnerd vtnerd force-pushed the improve/rpc_threshold_0.18 branch from a2d574e to d59374a Compare February 7, 2025 00:50
@vtnerd
Copy link
Contributor Author

vtnerd commented Feb 7, 2025

Another force push for a missing include. This compiles locally for me, so this may require several attempts at getting the CI to pass.

@vtnerd
Copy link
Contributor Author

vtnerd commented Feb 7, 2025

I forgot that #9687 hasn't been merged. Won't bother fixing the depends builds then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants