Skip to content

Fix ErrorWriter IsSupportedCheck with required connect protocol option#700

Merged
emcfarlane merged 3 commits intomainfrom
ed/fixEWOpts
Mar 6, 2024
Merged

Fix ErrorWriter IsSupportedCheck with required connect protocol option#700
emcfarlane merged 3 commits intomainfrom
ed/fixEWOpts

Conversation

@emcfarlane
Copy link
Contributor

This PR fixes ErrorWriter to correctly return unsupported protocol if the option WithRequireConnectProtocolHeader is set and the header or query value isn't include in the request. It will now correctly return unsupported to ensure fallback options can process the error.

Fixes #699

This PR fixes ErrorWriter to correctly return unsupported protocol if
the option WithRequireConnectProtocolHeader is set and the header or
query value isn't include in the request. It will now correctly return
unsupported to ensure fallback options can process the error.

Fixes #699
@emcfarlane emcfarlane self-assigned this Feb 23, 2024
@emcfarlane emcfarlane merged commit 6fab35e into main Mar 6, 2024
@emcfarlane emcfarlane deleted the ed/fixEWOpts branch March 6, 2024 02:49
@jhump jhump added the bug Something isn't working label Mar 20, 2024
@jhump jhump mentioned this pull request Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ErrorWriter does not respect connect.WithRequireConnectProtocolHeader option

3 participants