Skip to content

Update responsiveness server#102

Closed
josephnoir wants to merge 6 commits intoapple:mainfrom
josephnoir:update-responsiveness-server
Closed

Update responsiveness server#102
josephnoir wants to merge 6 commits intoapple:mainfrom
josephnoir:update-responsiveness-server

Conversation

@josephnoir
Copy link
Copy Markdown
Contributor

Rebuild http/2 responsiveness server app

Motivation

Build a basic implementation of the responsiveness server. It does not
need HTTP/1 or TLS to begin with, just HTTP/2. It should also support a
shutdown handler for automatic testing.

Modifications

Rebuild the initial app to support just HTTP/2. Upgrade the
responsiveness server to the new version, which supports a fallback
handler to implement the shutdown endpoint. Integrate the
ServerQuiescingHelper and connection management to properly shutdown the
server.

Adopt code from grpc-swift-nio-transport to handle graceful shutdown of HTTP2 connections, specifically:

Add NOTICE.txt file to reference the original code.

Result

The new server only supports HTTP/2 and can be shut down gracefully.

Motivation:

Build a basic implementation of the responsiveness server. It does not
need HTTP/1 or TLS to begin with, just HTTP/2. It should also support a
shutdown handler for automatic testing.

Modifications:

Rebuild the initial app to support just HTTP/2. Upgrade the
responsiveness server to the new version, which supports a fallback
handler to implement the shutdown endpoint. Integrate the
ServerQuiescingHelper and connection management to properly shutdown the
server.

Result:

The new server only supports HTTP/2 and can be shut down gracefully.
Copy link
Copy Markdown
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

It seems a bit unnecessary to make this only support HTTP/2: what's the motivation for that change?

@josephnoir
Copy link
Copy Markdown
Contributor Author

Sorry, there was a misunderstanding. I'll close this.

@josephnoir josephnoir closed this Jun 27, 2025
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.

2 participants