Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cohttp-eio/src/server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ open Utils
module IO = Io.IO

type body = Body.t
type conn = IO.conn * Cohttp.Connection.t [@@warning "-3"]
type conn = IO.conn * Cohttp.Connection.t
type writer = Http.Request.t * IO.oc
type response = writer -> unit

Expand Down
2 changes: 1 addition & 1 deletion cohttp-lwt/src/server.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
open Lwt.Infix
module Header = Cohttp.Header
module Connection = Cohttp.Connection [@@warning "-3"]
module Connection = Cohttp.Connection

module Make (IO : S.IO) = struct
module IO = IO
Expand Down
2 changes: 1 addition & 1 deletion cohttp-mirage/src/static.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*)

module Key = Mirage_kv.Key
module Connection = Cohttp.Connection [@@warning "-3"]
module Connection = Cohttp.Connection

module HTTP (FS : Mirage_kv.RO) (S : Cohttp_lwt.S.Server) = struct
open Lwt.Infix
Expand Down
2 changes: 1 addition & 1 deletion cohttp/src/cohttp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Accept = Accept
module Auth = Auth
module Body = Body
module Conf = Conf
module Connection = Connection [@@deprecated "Connection.t values are useless."]
module Connection = Connection
module Code = Code
module Cookie = Cookie
module Header = Header
Expand Down
2 changes: 1 addition & 1 deletion cohttp/src/server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module type S = sig
module IO : S.IO

type body
type conn = IO.conn * Connection.t [@@warning "-3"]
type conn = IO.conn * Connection.t
type response

type response_action =
Expand Down