完成cache参数解析部分的编码。
This commit is contained in:
@@ -47,16 +47,18 @@ enum cache_pending_result
|
||||
PENDING_RESULT_ALLOWED,
|
||||
PENDING_RESULT_MISS
|
||||
};
|
||||
struct cache_mid;
|
||||
|
||||
const struct cached_meta* cache_pending_result_read_meta(future_result_t * result);
|
||||
enum cache_pending_result web_cache_async_pending(struct cache_handle* handle, unsigned int thread_id,
|
||||
const struct tfe_http_half * request, struct future* f_revalidate);
|
||||
|
||||
const struct tfe_http_half * request, struct cache_mid **mid, struct future* f_revalidate);
|
||||
void cache_mid_free(struct cache_mid **mid);
|
||||
|
||||
|
||||
|
||||
struct cache_update_context;
|
||||
struct cache_update_context* web_cache_update_start(struct cache_handle* handle, unsigned int thread_id,
|
||||
const struct tfe_http_session * session);
|
||||
const struct tfe_http_session * session, struct cache_mid **mid);
|
||||
void web_cache_update(struct cache_update_context* ctx, const unsigned char * body_frag, size_t frag_size);
|
||||
void web_cache_update_end(struct cache_update_context* ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user