*)
(* TODO cache expires control!!! *)
+(* TODO possible race condition, e.g.:
+ two clients require the same URI which is available in cache compressed, the
+ getter need to uncompress it, send back to client, and delete the
+ uncompressed file. Actually the uncompressed file name is the same, a temp
+ file isn't used. *)
+(* TODO possible race condition, e.g.:
+ two clients require the same URI which is not available in cache, cache
+ filling operation can collide *)
+(* TODO uwobo loop:
+ if two large proof (already in cache) are requested at the same time by two
+ clients, uwobo (java implementation, not yet tested with the OCaml one)
+ starts looping sending output to one of the client *)
open Http_getter_common;;
open Http_getter_misc;;