diff options
| author | Lu Qiuwen <[email protected]> | 2018-10-26 20:30:06 +0800 |
|---|---|---|
| committer | Lu Qiuwen <[email protected]> | 2018-10-26 20:30:06 +0800 |
| commit | cf64f01f7f4d4e7dd3f308f8a67e338d57953303 (patch) | |
| tree | c7558f895ab489d1516afa0f7b831df5040c92cc /platform/src/proxy.cpp | |
| parent | d3d34355ef9f261f91c017bc8af24c7611272003 (diff) | |
修正suspend/resume语义实现的若干问题,增加自行构建request/response的header标志
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index 6038500..488dcc1 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -66,7 +66,7 @@ static __attribute__((__used__)) const char * TFE_VERSION_version_UNKNOWN = NULL /* VERSION STRING */ #ifdef TFE_GIT_VERSION -static __attribute__((__used__)) const char * tfe_version = TFE_GIT_VERSION; +static __attribute__((__used__)) const char * __tfe_version = TFE_GIT_VERSION; #else static __attribute__((__used__)) const char * tfe_version = "Unknown"; #endif @@ -354,6 +354,12 @@ int main(int argc, char *argv[]) return 0; } + +const char * tfe_version() +{ + return __tfe_version; +} + unsigned int tfe_proxy_get_work_thread_count(void) { return g_default_proxy->nr_work_threads; |
