Hi All,
I am trying to write an API that will fetch objects from the squid cache
given the url and http method.
When I analyzed the code, I found that this can be achieved with a
storeGetPublic(url, http_method) to see if the url has an entry in the
cache.
This followed by storeClientCopy() call.
However, the StoreIOBuffer used here has been initialized with a lenght of
HTTP_REQBUF_SZ (4096 or 4 k) by default.
I would like to know how larger objects are stored and retrieved from cache
? How can I determine the length of the object read in that case?
Version used: Squid ver 3.1.16
squid.conf : default configuration file with cache_dir directive
uncommented.
Any pointers are appreciated.
Thanks.
Regards,
Anita
-- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Store-Object-length-tp4658726.html Sent from the Squid - Development mailing list archive at Nabble.com.Received on Tue Feb 26 2013 - 04:04:40 MST
This archive was generated by hypermail 2.2.0 : Wed Feb 27 2013 - 12:00:08 MST