package tiny_httpd
Module Tiny_httpd_unix.Unix_tcp_server_Source
Source
type t = {addr : string;port : int;buf_pool : Tiny_httpd_core.Buf.t Tiny_httpd_core.Pool.t;slice_pool : Tiny_httpd_core.IO.Slice.t Tiny_httpd_core.Pool.t;max_connections : int;sem_max_connections : Sem.t;(*semaphore to restrict the number of active concurrent connections
*)mutable sock : Unix.file_descr option;(*Socket
*)new_thread : (unit -> unit) -> unit;timeout : float;masksigpipe : bool;mutable running : bool;
}