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 18
18
( depends
19
19
( ocaml ( >= 4 .08.1) )
20
20
( camlzip ( >= 1 .04) )
21
- cohttp-eio
21
+ ( cohttp-eio ( >= 6 .0.0 ) )
22
22
http
23
23
cryptokit
24
24
( ipaddr ( >= 2 .1) )
25
- eio
25
+ ( eio ( >= 0 .13 ) )
26
26
eio_main
27
27
lwt_react
28
28
lwt_ssl
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ depends: [
13
13
"dune" {>= "3.19"}
14
14
"ocaml" {>= "4.08.1"}
15
15
"camlzip" {>= "1.04"}
16
- "cohttp-eio"
16
+ "cohttp-eio" {>= "6.0.0"}
17
17
"http"
18
18
"cryptokit"
19
19
"ipaddr" {>= "2.1"}
20
- "eio"
20
+ "eio" {>= "0.13"}
21
21
"eio_main"
22
22
"lwt_react"
23
23
"lwt_ssl"
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ let of_file filename =
219
219
(Eio_unix.Net. import_socket_stream
220
220
~sw: (Stdlib.Option. get (Fiber. get Ocsigen_lib. current_switch))
221
221
~close_unix: true fd
222
- : [`R | `Flow | `Close ] r)
222
+ : > [`R | `Flow | `Close ] r)
223
223
in
224
224
let buf = Cstruct. create 1024 in
225
225
let rec aux () =
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ let main config =
286
286
|> fun x1 ->
287
287
Eio.Buf_read. of_flow ~max_size: 1_000_000
288
288
(Eio_unix.Net. import_socket_stream ~sw ~close_unix: true x1
289
- : [`R | `Flow | `Close ] r)
289
+ : > [`R | `Flow | `Close ] r)
290
290
in
291
291
let rec f () =
292
292
let s = Eio.Buf_read. line pipe in
@@ -362,7 +362,7 @@ let main config =
362
362
let run () =
363
363
Eio_main. run (fun env ->
364
364
Fiber. with_binding Ocsigen_lib. env env (fun () ->
365
- Switch. run ~name: " main " (fun sw ->
365
+ Switch. run (fun sw ->
366
366
Fiber. with_binding Ocsigen_lib. current_switch sw run)))
367
367
in
368
368
(* set_passwd_if_needed sslinfo; *)
You can’t perform that action at this time.
0 commit comments