mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-05 17:42:24 +08:00
处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,TC_EpollServer::ConnectionList::getUniqId()中出现assert错误
This commit is contained in:
parent
ea3f65ef4e
commit
82182839be
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,7 +0,0 @@
|
||||
.vs
|
||||
out
|
||||
CMakeSettings.json
|
||||
download
|
||||
.idea
|
||||
cmake-build*
|
||||
clear-install.cmake
|
@ -33,7 +33,6 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include "util/tc_platform.h"
|
||||
|
||||
namespace tars
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user