Skip to content

Add ServeHttp11Action to selectively disable H2 serving#591

Merged
haga-rak merged 2 commits into
mainfrom
feature/serve-http11-action
Mar 20, 2026
Merged

Add ServeHttp11Action to selectively disable H2 serving#591
haga-rak merged 2 commits into
mainfrom
feature/serve-http11-action

Conversation

@haga-rak
Copy link
Copy Markdown
Owner

@haga-rak haga-rak commented Mar 20, 2026

Summary

  • Adds ServeHttp11Action, a new rule action that forces the downstream (client-to-proxy) connection to use HTTP/1.1 even when the global ServeH2 option is enabled
  • Adds ForceServeHttp11 property to ExchangeContext and wires it into SecureConnectionUpdater ALPN negotiation
  • Includes autogenerated documentation and searchable-items update

Motivation

When ServeH2 is globally enabled, there was no way to selectively downgrade specific exchanges to HTTP/1.1 on the client side. This action allows per-rule control via the standard filter/action system, useful when certain clients or hosts are incompatible with HTTP/2 serving.

When the global ServeH2 option is enabled, this new action allows
selectively downgrading specific exchanges to HTTP/1.1 on the
client-to-proxy connection via ALPN negotiation. Useful when certain
clients or hosts are incompatible with HTTP/2 serving.
@haga-rak haga-rak merged commit 3a5dce3 into main Mar 20, 2026
2 checks passed
@haga-rak haga-rak added the new-action New fluxzy action added label Mar 20, 2026
@haga-rak haga-rak deleted the feature/serve-http11-action branch April 6, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-action New fluxzy action added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant