Commit Graph

179 Commits

Author SHA1 Message Date
ruanshudong
4b9042c3d6 fix tc_epoller crash & update changelist 2022-02-25 11:19:14 +08:00
ruanshudong
26ce453b08 support run in container 2022-02-25 11:15:12 +08:00
ruanshudong
bcff28819e fix tc_transceiver connection timeout maybe cause crash 2022-01-19 18:13:55 +08:00
wuxiaofeng1
e5ac86f299 一致性hash异常适配域名、ipv6 2022-01-01 20:36:03 +08:00
ruanshudong
e9b56c479e tc_epoller remove assert(info->_epoller == this) 2021-11-25 09:33:53 +08:00
ruanshudong
782b008443 tars json support enum as map key 2021-11-22 18:33:51 +08:00
ruanshudong
0a708f6d55 Fix the problem that the core will be when the independent communicator
client Ctrl + C exits
2021-11-15 16:23:12 +08:00
wuxiaofeng1
bd5d9a0254 json输出支持不包含空格的紧凑格式 2021-11-13 16:04:11 +08:00
ruanshudong
98608b36bd
Merge pull request #193 from drainstory/drainstory-dev
doProtocolAnalysis optimize the details
2021-11-13 09:39:06 +08:00
ruanshudong
da8bc2c030 fix tc_base64 crash bug 2021-11-04 13:49:39 +08:00
Donworry
cbbf3e9557 去掉判断Pakcet_Full后break部分判断
保留当parse后,如果Packet_Full并且buffer没有movehead,则断开连接并抛出异常部分
2021-11-03 16:55:31 +08:00
ruanshudong
7c8a353f27 fix tc_base64, Fix the code bug caused by '=', which should be supplemented at the end, but there is no supplement 2021-11-03 09:39:49 +08:00
donghy
2e3dd6a6a9 doProtocolAnalysis optimize the details 2021-11-02 14:50:18 +08:00
cuijg
d0eb946e57 fix build error on windows 2021-10-31 05:58:00 +08:00
jarodruan
e7a77deb45 support mac arm & windows compiler 2021-10-17 11:07:18 +08:00
jarodruan
2cc9ecc0e4 fix epoller server push data not refresh connection list time 2021-10-17 11:07:18 +08:00
jarodruan
7d908b3797 fix windows encode utf8bom 2021-10-17 11:07:18 +08:00
ruanshudong
4b66864c90 fix heartbeat not be called 2021-09-03 21:33:39 +08:00
ruanshudong
6b383550a5 add unitttest 2021-08-23 15:35:24 +08:00
ruanshudong
e5e58abc78 tarscpp support co 2021-08-19 17:20:09 +08:00
ruanshudong
7894f47965 fix tc_json, value/lvalue 2021-08-18 13:46:18 +08:00
ruanshudong
f6eda556de tc_socket bind output cerr when failed 2021-08-18 13:41:02 +08:00
edisenwang
a5d2f51493 提交tc_json.cpp文件 2021-08-06 11:09:04 +08:00
ruanshudong
4d4a5e8616 fix tc_timer memory leak and timer id duplicate bug 2021-07-27 10:04:05 +08:00
ruanshudong
a89b013c9d fix tc_grpc compiler 2021-07-27 09:54:32 +08:00
wangguanfeng
fc8ccbaf05 support grpc and add GrpcDemo 2021-07-23 10:08:42 +08:00
zwk081604
fff21ecaaf fix: windows socket set block 2021-05-31 10:45:31 +08:00
ruanshudong
cc5e547d1b tc_common.cpp code format 2021-04-13 09:42:41 +08:00
ruanshudong
a1dc73f742 fix epoll server connection close cause crash bug 2021-04-12 22:38:07 +08:00
ruanshudong
d79e204d69
Merge pull request #158 from woluohenga/fix_config_parse_bug
fix: fix config parse bug
2021-04-02 09:07:28 +08:00
ruanshudong
e5d549ffa9 update tc_timer repeat bug and update changelist 2021-04-01 21:57:35 +08:00
ruanshudong
ffe1b07c01 fix tc_common time bug in windows 2021-03-29 10:30:36 +08:00
ruanshudong
557a2188db fix protocol 2021-03-28 22:27:52 +08:00
seamesluo
9804f03563 fix: fix config parse bug 2021-03-25 16:58:10 +08:00
tantc
0e50a684e3 linux windows下为小端,修正字节序转换函数定义错误,比如tars_ntonll 2021-03-24 10:40:26 +08:00
ruanshudong
5f1b2b3666 tc_epoll_server add sendBufferDirect
tc_epoll_server support listen fd fork
2021-03-24 10:20:12 +08:00
ruanshudong
e02534af69 fix tc_common time zone bug 2021-03-24 09:39:36 +08:00
tantc
82182839be 处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,TC_EpollServer::ConnectionList::getUniqId()中出现assert错误 2021-03-24 09:38:37 +08:00
tantc
ea3f65ef4e 处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,TC_EpollServer::ConnectionList::getUniqId()中出现assert错误 2021-03-24 09:38:37 +08:00
tantc
aa62d4db4a linux windows下为小端,修正字节序转换函数定义错误,比如tars_ntonll 2021-03-24 09:38:37 +08:00
ruanshudong
3b8eefe405 merge pr, fix isPrimeNumber 2021-03-04 13:55:40 +08:00
miojizzy
909d7299cc fix tc_common prime judgment bug 2021-03-04 13:55:40 +08:00
ruanshudong
6434f40e84 fix tc_port exec 2021-03-04 13:55:40 +08:00
daihuaming
1c4909903c 修复 popen 失败返回空指针 没有判断就直接使用的BUG。 2021-03-04 13:55:40 +08:00
ruanshudong
d7ec1f3fc2 merge pr, fix isPrimeNumber 2021-03-04 13:55:40 +08:00
miojizzy
98f37a9552 fix tc_common prime judgment bug 2021-03-04 13:55:40 +08:00
tanzhongwu
64ce7ae963 修正异常里的函数名 2021-03-04 13:55:40 +08:00
tanzhongwu
f2acbcb0d4 修正异常里的函数名 2021-03-04 13:55:40 +08:00
wincsb
d7adcb07c1 Set the MYSQL_OPT_CONNECT_TIMEOUT, MYSQL_OPT_READ_TIMEOUT, MYSQL_OPT_WRITE_TIMEOUT options to prevent switching VIP/restarting the gateway after unplugging the network cable, causing "connnect", "real_query", etc. to be blocked for tens of minutes 2021-03-02 11:15:31 +08:00
ruanshudong
43155e55a0 merge pr, fix isPrimeNumber 2020-12-31 09:27:43 +08:00