处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,TC_EpollServer::ConnectionList::getUniqId()中出现assert错误

This commit is contained in:
tantc 2021-02-04 17:58:31 +08:00 committed by ruanshudong
parent ea3f65ef4e
commit 82182839be
3 changed files with 1 additions and 9 deletions

7
.gitignore vendored
View File

@ -1,7 +0,0 @@
.vs
out
CMakeSettings.json
download
.idea
cmake-build*
clear-install.cmake

View File

@ -33,7 +33,6 @@
#include <stdint.h>
#include <string.h>
#include <limits.h>
#include "util/tc_platform.h"
namespace tars
{

View File

@ -14,7 +14,7 @@ namespace tars
#pragma comment(lib,"ws2_32.lib")
#endif
#if TARGET_PLATFORM_IOS || TARGET_PLATFORM_WINDOWS||TARGET_PLATFORM_LINUX
#if TARGET_PLATFORM_IOS || TARGET_PLATFORM_WINDOWS
# ifndef __LITTLE_ENDIAN
# define __LITTLE_ENDIAN 1234
# endif