Skip to content

http: add drop request event for http server#43806

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
theanarkh:add_drop_request_event_for_http_server
Jul 22, 2022
Merged

http: add drop request event for http server#43806
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
theanarkh:add_drop_request_event_for_http_server

Conversation

@theanarkh
Copy link
Copy Markdown
Contributor

@theanarkh theanarkh commented Jul 12, 2022

Add dropRequest event for http server to notify user when the number of requests on a socket reaches the threshold of
server.maxRequestsPerSocket.

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Affected subsystem: http

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run. labels Jul 12, 2022
Comment thread doc/api/http.md Outdated
@theanarkh theanarkh force-pushed the add_drop_request_event_for_http_server branch from c6d3d0e to 99c2e43 Compare July 13, 2022 12:50
Comment thread doc/api/http.md Outdated
Comment thread doc/api/http.md Outdated
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@theanarkh theanarkh force-pushed the add_drop_request_event_for_http_server branch 2 times, most recently from 034a24b to 57d8d36 Compare July 13, 2022 15:04
@F3n67u F3n67u added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 13, 2022
Comment thread doc/api/http.md Outdated
Comment thread test/parallel/test-http-keep-alive-drop-requests.js
@lpinca lpinca added the semver-minor PRs that contain new features and should be released in the next minor version. label Jul 13, 2022
@theanarkh theanarkh force-pushed the add_drop_request_event_for_http_server branch from 57d8d36 to 5adb5e7 Compare July 13, 2022 18:52
Comment thread test/parallel/test-https-keep-alive-drop-requests.js Outdated
@F3n67u F3n67u removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 14, 2022
@theanarkh theanarkh force-pushed the add_drop_request_event_for_http_server branch from 5adb5e7 to e5b408c Compare July 14, 2022 14:11
@F3n67u F3n67u added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Jul 16, 2022
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 16, 2022
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@theanarkh
Copy link
Copy Markdown
Contributor Author

theanarkh commented Jul 18, 2022

@mcollina Hi. Can you help trigger CI again? Thanks!

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@mcollina mcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 22, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 22, 2022
@nodejs-github-bot nodejs-github-bot merged commit 0592d91 into nodejs:main Jul 22, 2022
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Landed in 0592d91