1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374(** Simple Httpd.
A small HTTP/1.1 server, in pure OCaml, along with some utilities
to build small websites. It aims to be simple (not too many dependencies)
but still provide features which would suffice for most simple websites.
It uses domain and will treat request using a fixed number of threads
that you can choose and no more. On each domain/thread runs a scheduler
written with effect to treat several request concurrently. Test shows that
it can handle hundreds of request simultaneously.
*)moduleUtil=UtilmoduleSfd=Util.SfdmoduleInput=InputmoduleOutput=OutputmoduleAddress=AddressmoduleClient=Async.ClientmoduleAsync=AsyncmoduleIo=Async.IomoduleLog=Async.LogmoduleMutex=Async.MutexmoduleSemaphore=Async.SemaphoremoduleResources=ResourcesmoduleProcess=ProcessmoduleMethod=MethodmoduleHeaders=HeadersmoduleCookies=CookiesmoduleCamlzip=CamlzipmoduleStats=StatsmoduleRequest=RequestmoduleResponse_code=Response_codemoduleResponse=ResponsemoduleWebSocket=WebSocketmoduleRoute=RoutemoduleFilter=Route.FiltermoduleSession=SessionmoduleDir=DirmoduleHtml=HtmlmoduleServer=ServermoduleAuth=AuthmoduleStatus=StatusmoduleHost=Host