Skip to content
New issue

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

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

Already on GitHub? # to your account

politeiawww: Add server read limits. #1506

Merged
merged 4 commits into from
Sep 21, 2021
Merged

Conversation

lukebp
Copy link
Member

@lukebp lukebp commented Sep 17, 2021

This diff makes the following changes to politeiawww:

  • Adds req body size limit middleware to the politeiawww router.
  • Adds tests to verify the middleware behavior.
  • Adds a client read limit to the politeiawww websocket implementation.
  • Add politeiawww config options for both the req body size limt and the
    websocket read limit.

This diff makes the following changes to politeiawww:

- Adds req body size limit middleware to the politeiawww router.
- Adds tests to verify the middleware behavior.
- Adds a client read limit to the politeiawww websocket implementation.
@lukebp lukebp changed the title politeiawww: Add req body size limit middleware. politeiawww: Add server read limits. Sep 20, 2021
@lukebp lukebp merged commit 9185926 into decred:master Sep 21, 2021
@lukebp lukebp deleted the www-req-body-limit branch February 6, 2022 17:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants