sig
type conn_state = [ `Active of < > | `Inactive ]
class type connection_cache =
object
method close_all : unit -> unit
method close_connection : Unix.file_descr -> unit
method find_inactive_connection : Unix.sockaddr -> Unix.file_descr
method find_my_connections : < > -> Unix.file_descr list
method get_connection_state :
Unix.file_descr -> Http_client_conncache.conn_state
method set_connection_state :
Unix.file_descr -> Http_client_conncache.conn_state -> unit
end
class restrictive_cache : unit -> connection_cache
class aggressive_cache : unit -> connection_cache
end