aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/specs
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2025-02-10 15:26:00 +0100
committerLoïc Hoguin <[email protected]>2025-02-10 15:26:00 +0100
commit053e233c5634ede60dec6c2c261a5729dae1abc4 (patch)
treebb4ffb0be63cea405a43ed7e6048dd0008c9e876 /doc/src/specs
parent971684788d991d98fc86e84d061a52809df76e2b (diff)
downloadcowboy-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/specs')
0 files changed, 0 insertions, 0 deletions