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

fix(ext/node): server.close() does graceful shutdown #24184

Merged
merged 10 commits into from
Jun 14, 2024

Conversation

littledivy
Copy link
Member

No description provided.

@@ -1775,8 +1775,12 @@ export class ServerImpl extends EventEmitter {
}

if (listening && this.#ac) {
this.#ac.abort();
this.#ac = undefined;
if (this.#server) {
Copy link
Member

Choose a reason for hiding this comment

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

Can you add Server.closeAllConnections() method as well?

@littledivy littledivy merged commit e19ee6e into denoland:main Jun 14, 2024
17 checks passed
@littledivy littledivy deleted the graceful_http_shutdown branch June 14, 2024 01:14
zebreus pushed a commit to zebreus/deno that referenced this pull request Jul 8, 2024
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.

None yet

2 participants