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

Add test for http2 support #87

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add test for http2 support #87

wants to merge 3 commits into from

Conversation

trevor-scheer
Copy link
Member

No description provided.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 14, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@trevor-scheer trevor-scheer marked this pull request as ready for review February 14, 2023 22:52
},
plugins: [
ApolloServerPluginDrainHttpServer({
// @ts-expect-error drain server plugin currently only accepts an http.Server
Copy link

Choose a reason for hiding this comment

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

Is the API close enough that this works? Wonder if it might be worth just throwing together an http2 drain plugin instead. You'd still have to do "track active sessions" yourself but within a given session you don't have to track active requests because the http2 API provides a graceful http2session.close() for you.

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