Skip to content

Commit

Permalink
Disable openssl for now
Browse files Browse the repository at this point in the history
It segfaults under multicore: see savonet/ocaml-ssl#76
  • Loading branch information
talex5 committed Jan 18, 2022
1 parent 8761267 commit b43765e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/http/dune
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
lwt.unix
lwt_eio
eio_main
lwt_ssl
ssl
dream-httpaf.websocketaf
)
(preprocess (pps lwt_ppx))
Expand Down
5 changes: 4 additions & 1 deletion src/http/http.ml
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,9 @@ let no_tls ~sw = {
end;
}

let openssl ~sw = {
let openssl ~sw:_ = failwith "https://github.com/savonet/ocaml-ssl/issues/76"
(*
{
create_handler = begin fun
~certificate_file ~key_file
~handler
Expand Down Expand Up @@ -596,6 +598,7 @@ let openssl ~sw = {
assert false
end;
}
*)

(* TODO LATER Add ALPN + HTTP/2.0 with ocaml-tls, too. *)
let ocaml_tls ~sw = {
Expand Down

0 comments on commit b43765e

Please sign in to comment.