缓存功能整体流程调试通过。
This commit is contained in:
@@ -161,7 +161,7 @@ struct cache_update_context* web_cache_update_start(struct cache_handle* handle,
|
||||
memset(&meta, 0, sizeof(meta));
|
||||
meta.url=session->req->req_spec.url;
|
||||
i=0;
|
||||
snprintf(buffer, sizeof(buffer), "content-type:%s",session->resp->resp_spec.content_length);
|
||||
snprintf(buffer, sizeof(buffer), "content-type:%s",session->resp->resp_spec.content_type);
|
||||
meta.std_hdr[i]=buffer;
|
||||
i++;
|
||||
memcpy(&meta.put, &resp_freshness, sizeof(resp_freshness));
|
||||
|
||||
Reference in New Issue
Block a user