mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
make sure we use epoll
This commit is contained in:
parent
0193a2c0d1
commit
57bc8e434c
1 changed files with 3 additions and 0 deletions
|
|
@ -148,6 +148,9 @@ let () =
|
|||
(fun _ -> raise (Arg.Bad ""))
|
||||
"echo [option]*";
|
||||
|
||||
let ev = new Lwt_engine.libev () in
|
||||
Lwt_engine.set ev;
|
||||
|
||||
Lwt_main.run @@ Task.run
|
||||
@@ fun () ->
|
||||
let server =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue