支持promise finish。

This commit is contained in:
zhangchengwei
2018-11-23 20:55:28 +08:00
committed by zhengchao
parent 313f36c58a
commit 9fc2a8a0d2
8 changed files with 85 additions and 29 deletions

View File

@@ -143,7 +143,7 @@ struct tango_cache_ctx
{
CURL *curl;
struct curl_slist *headers;
struct future* future;
struct promise* promise;
char error[CURL_ERROR_SIZE];
char object_key[256];
char hostaddr[48];