You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by ChangCheng <cc...@msn.com> on 2011/05/12 19:58:28 UTC

Problem with TSCacheRead

Hi:
I have written a plug to write and read entry to the cache and from the cache on the HTTP_SEND_RESPONSE_HDR_HOOK.
It's seem to work well for write, but i have a problem with TSCacheRead, if the object which i read is not in the cache, how do i solve this problem. i try to call TSHttpTxnReenable(txnp, TS_EVENT_HTTP_CONTINUE) on TS_EVENT_CACHE_OPEN_WRITE_FAILED, but it's doesn't work. 
any suggestion?
Thanks