Skip to content

Commit cb5c03e

Browse files
committed
Document that ALPN config must match http-versions in http/connection-pool
1 parent 98c8c0d commit cb5c03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/http.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
158158
Param key | Description
159159
| --- | ---
160-
| `ssl-context` | an `io.netty.handler.ssl.SslContext` object or a map of SSL context options (see `aleph.netty/ssl-client-context` for more details), only required if a custom context is required
160+
| `ssl-context` | an `io.netty.handler.ssl.SslContext` object or a map of SSL context options (see `aleph.netty/ssl-client-context` for more details), only required if a custom context is desired. When passing an `io.netty.handler.ssl.SslContext` object, it must have an ALPN config matching the `http-versions` option (see also `aleph.netty/application-protocol-config`).
161161
| `ssl-endpoint-id-alg` | the name of the algorithm to use for SSL endpoint identification (see https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html#endpoint-identification-algorithms), defaults to \"HTTPS\". Only used for HTTPS connections. Pass `nil` to disable endpoint identification.
162162
| `local-address` | an optional `java.net.SocketAddress` describing which local interface should be used
163163
| `bootstrap-transform` | a function that takes an `io.netty.bootstrap.Bootstrap` object and modifies it.

0 commit comments

Comments
 (0)