File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1818 ( depends
1919 ( ocaml ( >= 4 .08.1) )
2020 ( camlzip ( >= 1 .04) )
21- cohttp-eio
21+ ( cohttp-eio ( >= 6 .0.0 ) )
2222 http
2323 cryptokit
2424 ( ipaddr ( >= 2 .1) )
25- eio
25+ ( eio ( >= 0 .13 ) )
2626 eio_main
2727 lwt_react
2828 lwt_ssl
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ depends: [
1313 "dune" {>= "3.19"}
1414 "ocaml" {>= "4.08.1"}
1515 "camlzip" {>= "1.04"}
16- "cohttp-eio"
16+ "cohttp-eio" {>= "6.0.0"}
1717 "http"
1818 "cryptokit"
1919 "ipaddr" {>= "2.1"}
20- "eio"
20+ "eio" {>= "0.13"}
2121 "eio_main"
2222 "lwt_react"
2323 "lwt_ssl"
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ let of_file filename =
219219 (Eio_unix.Net. import_socket_stream
220220 ~sw: (Stdlib.Option. get (Fiber. get Ocsigen_lib. current_switch))
221221 ~close_unix: true fd
222- : [`R | `Flow | `Close ] r)
222+ : > [`R | `Flow | `Close ] r)
223223 in
224224 let buf = Cstruct. create 1024 in
225225 let rec aux () =
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ let main config =
286286 |> fun x1 ->
287287 Eio.Buf_read. of_flow ~max_size: 1_000_000
288288 (Eio_unix.Net. import_socket_stream ~sw ~close_unix: true x1
289- : [`R | `Flow | `Close ] r)
289+ : > [`R | `Flow | `Close ] r)
290290 in
291291 let rec f () =
292292 let s = Eio.Buf_read. line pipe in
@@ -362,7 +362,7 @@ let main config =
362362 let run () =
363363 Eio_main. run (fun env ->
364364 Fiber. with_binding Ocsigen_lib. env env (fun () ->
365- Switch. run ~name: " main " (fun sw ->
365+ Switch. run (fun sw ->
366366 Fiber. with_binding Ocsigen_lib. current_switch sw run)))
367367 in
368368 (* set_passwd_if_needed sslinfo; *)
You can’t perform that action at this time.
0 commit comments