diff options
author | Loïc Hoguin <[email protected]> | 2025-02-10 15:26:00 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2025-02-10 15:26:00 +0100 |
commit | 053e233c5634ede60dec6c2c261a5729dae1abc4 (patch) | |
tree | bb4ffb0be63cea405a43ed7e6048dd0008c9e876 /doc/src/guide | |
parent | 971684788d991d98fc86e84d061a52809df76e2b (diff) | |
download | cowboy-053e233c5634ede60dec6c2c261a5729dae1abc4.tar.gz cowboy-053e233c5634ede60dec6c2c261a5729dae1abc4.tar.bz2 cowboy-053e233c5634ede60dec6c2c261a5729dae1abc4.zip |
Provide better control over which HTTP protocols are enabled
Over cleartext TCP the `protocols` option lists the enabled
protocols. The default is to allow both HTTP/1.1 and HTTP/2.
Over TLS the default protocol to use when ALPN is not used
can now be configured via the `alpn_default_protocol` option.
Performing an HTTP/1.1 upgrade to HTTP/2 over TLS is now
rejected with an error as connecting to HTTP/2 over TLS
requires the use of ALPN (or that HTTP/2 be the default
when connecting over TLS).
Diffstat (limited to 'doc/src/guide')
0 files changed, 0 insertions, 0 deletions