summaryrefslogtreecommitdiff
path: root/platform/src/proxy.cpp
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2018-10-14 14:29:23 +0800
committerLu Qiuwen <[email protected]>2018-10-14 14:32:25 +0800
commitcb27db40f242ba54db4d4bfee5326e86fa993f40 (patch)
treed0d3612ed6de7416b6e590d857a85268e5bde803 /platform/src/proxy.cpp
parent3b012a059319d384e829d725135f4a68996d1c46 (diff)
增加Cache-Control相关HTTP头部字段标准域定义
Diffstat (limited to 'platform/src/proxy.cpp')
-rw-r--r--platform/src/proxy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp
index 96f0c68..68c0472 100644
--- a/platform/src/proxy.cpp
+++ b/platform/src/proxy.cpp
@@ -274,7 +274,7 @@ int main(int argc, char *argv[])
}
-
+
future_promise_library_init();
tango_cache_global_init();
@@ -348,7 +348,7 @@ unsigned int tfe_proxy_get_thread_count(void)
struct event_base * tfe_proxy_get_evbase(unsigned int thread_id)
{
assert(thread_id<g_default_proxy->nr_work_threads);
- return g_default_proxy->work_threads[thread_id].evbase;
+ return g_default_proxy->work_threads[thread_id]->evbase;
}