修正suspend/resume语义实现的若干问题,增加自行构建request/response的header标志

This commit is contained in:
Lu Qiuwen
2018-10-26 20:30:06 +08:00
parent d3d34355ef
commit cf64f01f7f
9 changed files with 104 additions and 35 deletions

View File

@@ -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;