X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fhttp_getter%2Fhttp_getter_cache.ml;fp=helm%2Fhttp_getter%2Fhttp_getter_cache.ml;h=d132b69a56b2297e6508a0193cf893ace027fd99;hb=dd8c7357e157ca0794b6e045207f23b95c61c0ae;hp=2a258ddc42997f7425e9b6a9101a121e4566ef7e;hpb=088d352ab8bc4aa29289869c20e40df54a2e9abb;p=helm.git diff --git a/helm/http_getter/http_getter_cache.ml b/helm/http_getter/http_getter_cache.ml index 2a258ddc4..d132b69a5 100644 --- a/helm/http_getter/http_getter_cache.ml +++ b/helm/http_getter/http_getter_cache.ml @@ -27,6 +27,18 @@ *) (* 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;;