File tree Expand file tree Collapse file tree 5 files changed +13
-10
lines changed Expand file tree Collapse file tree 5 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ setup.data
1313setup.log
1414_build
1515* .native
16+ . * .swp
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ Library mirage_http_xen
1212 Path: lib
1313 Findlibname: mirage-http-xen
1414 Modules: HTTP
15+ InternalModules: HTTP_IO
1516 BuildDepends: cohttp.lwt-core, mirage-tcpip-xen, lwt.syntax
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ open Net
2222
2323module Net_IO = struct
2424
25- module IO = Cohttp_mirage_io
25+ module IO = HTTP_IO
2626
2727 let connect_uri uri =
2828 fail (Failure " not implemented" )
@@ -37,13 +37,13 @@ module Net_IO = struct
3737end
3838
3939(* Build all the core modules from the [Cohttp_lwt] functors *)
40- module Request = Cohttp_lwt. Make_request (Cohttp_mirage_io )
41- module Response = Cohttp_lwt. Make_response (Cohttp_mirage_io )
42- module Client = Cohttp_lwt. Make_client (Cohttp_mirage_io )(Request )(Response )(Net_IO )
43- module Server_core = Cohttp_lwt. Make_server (Cohttp_mirage_io )(Request )(Response )(Net_IO )
40+ module Request = Cohttp_lwt. Make_request (HTTP_IO )
41+ module Response = Cohttp_lwt. Make_response (HTTP_IO )
42+ module Client = Cohttp_lwt. Make_client (HTTP_IO )(Request )(Response )(Net_IO )
43+ module Server_core = Cohttp_lwt. Make_server (HTTP_IO )(Request )(Response )(Net_IO )
4444
4545module type S = sig
46- include Cohttp_lwt. Server with module IO = Cohttp_mirage_io
46+ include Cohttp_lwt. Server with module IO = HTTP_IO
4747 val listen : ?timeout : float -> Net.Manager .t -> Net.Nettypes .ipv4_src -> t -> unit Lwt .t
4848end
4949
Original file line number Diff line number Diff line change 11# OASIS_START
2- # DO NOT EDIT (digest: 293c9ea246ff9985dc6f62a650f78986 )
2+ # DO NOT EDIT (digest: 120e4679a5100613b6b5c6a9d33858c7 )
33HTTP
4+ HTTP_IO
45# OASIS_STOP
Original file line number Diff line number Diff line change 11(* setup.ml generated for the first time by OASIS v0.3.0 *)
22
33(* OASIS_START *)
4- (* DO NOT EDIT (digest: 3f637938a795abc214e8fbab1a479440 ) *)
4+ (* DO NOT EDIT (digest: afdda2d40360841831b8c6a7912abcbe ) *)
55(*
66 Regenerated by OASIS v0.4.0
77 Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6629,7 +6629,7 @@ let setup_t =
66296629 {
66306630 lib_modules = [" HTTP" ];
66316631 lib_pack = false ;
6632- lib_internal_modules = [] ;
6632+ lib_internal_modules = [" HTTP_IO " ];
66336633 lib_findlib_parent = None ;
66346634 lib_findlib_name = Some " mirage-http-xen" ;
66356635 lib_findlib_containers = []
@@ -6641,7 +6641,7 @@ let setup_t =
66416641 };
66426642 oasis_fn = Some " _oasis" ;
66436643 oasis_version = " 0.4.0" ;
6644- oasis_digest = Some " äç \" &Qu \131 G \"\004 Go \004 øú \028 " ;
6644+ oasis_digest = Some " E3HJFÙ¢_ \\\024 ÆÅb]ßm " ;
66456645 oasis_exec = None ;
66466646 oasis_setup_args = [] ;
66476647 setup_update = false
You can’t perform that action at this time.
0 commit comments