You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALPN support is one of the requirements for supporting HTTP/2 in OCaml. I'm currently working on an implementation of it in ocaml-tls. I don't mind tackling this issue, but as I am new to writing C bindings in OCaml, I would love some pointers on how to start hacking.
Thanks!
The text was updated successfully, but these errors were encountered:
In particular, I'm thinking of adding the following functions to the Ssl module:
(** Set the list of supported ALPN protocols for negotiation to the context. *)valset_context_alpn_protos : context -> stringlist -> unit(** Set the callback to allow server to select the preferred protocol from client's available protocols. *)valset_context_alpn_select_callback : context -> (stringlist -> stringoption) -> unit(** Set the list of supported ALPN protocols for negotiation to the connection. *)valset_alpn_protos : socket -> stringlist -> unit(** Get the negotiated protocol from the connection. *)valget_negotiated_alpn_protocol : socket -> stringoption
Hi there, I'm wondering if there is interest in ALPN support for
ssl
?RFC: https://tools.ietf.org/html/rfc7301
Openssl doc: https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_alpn_select_cb.html
ALPN support is one of the requirements for supporting HTTP/2 in OCaml. I'm currently working on an implementation of it in
ocaml-tls
. I don't mind tackling this issue, but as I am new to writing C bindings in OCaml, I would love some pointers on how to start hacking.Thanks!
The text was updated successfully, but these errors were encountered: