支持Head获取对象元信息操作,支持从redis获取元信息;调整内部超时检查逻辑;

This commit is contained in:
zhangchengwei
2018-10-23 20:26:06 +08:00
committed by zhengchao
parent 46db35c9a5
commit 8edd964e21
15 changed files with 1244 additions and 62 deletions

View File

@@ -6,6 +6,9 @@
#include "tango_cache_client_in.h"
bool check_expires_fresh_header(struct tango_cache_ctx *ctx);
bool fetch_header_over_biz(struct tango_cache_ctx *ctx);
void tango_cache_curl_put_done(struct tango_cache_ctx *ctx, CURLcode res, long res_code);
void tango_cache_curl_get_done(struct tango_cache_ctx *ctx, CURLcode res, long res_code);
void tango_cache_curl_del_done(struct tango_cache_ctx *ctx, CURLcode res, long res_code);