Skip to content

Add method to change MHD_OPTION_PER_IP_CONNECTION_LIMIT #700

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

Merged
merged 1 commit into from
Feb 6, 2022
Merged

Conversation

juuz0
Copy link
Collaborator

@juuz0 juuz0 commented Feb 5, 2022

Adds new method setIpConnectionLimit() to server.
Default is 0 (infinite)
@codecov
Copy link

codecov bot commented Feb 5, 2022

Codecov Report

Merging #700 (261adf0) into master (ce24b1f) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #700   +/-   ##
=======================================
  Coverage   57.96%   57.96%           
=======================================
  Files          54       54           
  Lines        3566     3566           
  Branches     2006     2006           
=======================================
  Hits         2067     2067           
  Misses       1498     1498           
  Partials        1        1           
Impacted Files Coverage Δ
include/server.h 100.00% <ø> (ø)
src/server/internalServer.cpp 81.06% <ø> (ø)
src/server/internalServer.h 33.33% <ø> (ø)
src/server.cpp 79.16% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce24b1f...261adf0. Read the comment docs.

@kelson42 kelson42 merged commit dc4f9a4 into master Feb 6, 2022
@kelson42 kelson42 deleted the ipLimit branch February 6, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid one IP to take all the connections of the pool
3 participants