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

H2PriorKnowledgeFeatureParityTest.serverGracefulClose ConnectionAcceptor disable offloading #2444

Merged
merged 2 commits into from
Nov 24, 2022

Conversation

Scottmitch
Copy link
Member

Motivation:
H2PriorKnowledgeFeatureParityTest.serverGracefulClose installs a ConnectionAcceptor which intercepts messages through the netty pipeline. However the filter is offloaded by default and may miss events.

Modifications:

  • Override requiredOffloads when creating the ConnectionAcceptorFactory to disable offloading.

Fixes:
#2378

…tor disable offloading

Motivation:
H2PriorKnowledgeFeatureParityTest.serverGracefulClose installs a ConnectionAcceptor which
intercepts messages through the netty pipeline. However the filter is offloaded by default
and may miss events.

Modifications:
- Override `requiredOffloads` when creating the `ConnectionAcceptorFactory` to disable
  offloading.

Fixes:
apple#2378
@Scottmitch
Copy link
Member Author

I'm not 100% sure this will resolve #2378 bcz I'm not able to reproduce locally, but seems likely given the symptoms (hang waiting for graceful closure event initiated by peer). I say we consider this as fixing and re-open if necessary.

@Scottmitch
Copy link
Member Author

test failure attributed to #2245

@Scottmitch Scottmitch merged commit 40697bf into apple:main Nov 24, 2022
@Scottmitch Scottmitch deleted the conn_accept_offload branch November 24, 2022 01:21
@idelpivnitskiy
Copy link
Member

Thanks for the fix. Looks reasonable. I will keep an eye on #2378.

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