ruanshudong
d9f10ddb94
Merge pull request #156 from hhuahh/coro_opt
...
协程调度机制调整
2021-04-02 09:21:51 +08:00
ruanshudong
557a2188db
fix protocol
2021-03-28 22:27:52 +08:00
huanghua
9047f59950
协程调度机制调整,尽量保证sleep的协程及时被唤醒
2021-03-24 14:15:43 +08:00
huanghua
25a82b7046
协程调度机制调整
2021-03-24 13:57:48 +08:00
tantc
0e50a684e3
linux windows下为小端,修正字节序转换函数定义错误,比如tars_ntonll
2021-03-24 10:40:26 +08:00
ruanshudong
057eadfe56
fix tars hash AdapterProxy.h commet
2021-03-24 09:38:37 +08:00
ruanshudong
7d6a500ada
fix hash call bug
2021-03-24 09:38:37 +08:00
mq30
7b28c5e1a7
fix to add missing break
2021-03-24 09:38:37 +08:00
mq30
c2dcd64b7d
fix to avoid coredump while application exit
2021-03-24 09:38:37 +08:00
hhuahh
eb09032a96
add _staticWeightChanged define in AdapterProxy.h
2021-03-24 09:38:37 +08:00
hhuahh
1655b071c7
解决服务节点权重更新时哈希表和一致性哈希环不更新的问题
2021-03-24 09:38:37 +08:00
tantc
82182839be
处理压测连接数大于服务最大连接数,并且有连接频繁建立、断开时,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
01c00acd3e
update protocol
2021-03-15 22:25:37 +08:00
ruanshudong
6434f40e84
fix tc_port exec
2021-03-04 13:55:40 +08:00
ruanshudong
cfe2b9cd57
update protocol
2021-03-04 13:55:40 +08:00
BeyondWUXF
7f27992e62
一致性hash优化
...
同一服务有多个obj的情况,同一hash值调用不同的obj会hash到不同的服务器,因为addNode会根据desc(ip+port)计算md5,导致顺序不一致
2021-01-12 14:44:15 +08:00
ruanshudong
ef565b2784
fix tars-tools.cmake link pthread bug in ubuntu
2020-11-25 17:13:56 +08:00
ruanshudong
0edab06f01
fix create server script, change to bash
2020-11-25 16:49:55 +08:00
ruanshudong
fb820c906f
update protocol
2020-11-16 17:55:25 +08:00
ruanshudong
fc6905dc69
update servant/protocol
2020-11-16 14:49:47 +08:00
ruanshudong
b2441a7973
fix tc_port windows compiler error
2020-11-16 13:43:25 +08:00
ruanshudong
be0cab8d46
epoll add/del/mod and return value
2020-11-09 15:34:21 +08:00
ruanshudong
2c9007d6f0
ServantProxyThreadData reset when communicator terminate
2020-11-09 15:34:21 +08:00
ruanshudong
5e95c4e577
get rid of the singleton. You can start multiple applications in
...
a process!
2020-11-09 15:34:21 +08:00
ruanshudong
1e597a0020
fix EndpointManager decontructor
2020-11-09 15:34:21 +08:00
ruanshudong
97fe32025c
fix communicator terminate
2020-11-09 15:34:21 +08:00
ruanshudong
492ab8a689
application support parse string config
2020-11-09 15:34:21 +08:00
ruanshudong
3b2a6a15a5
fix hash bug in first connection
2020-11-09 15:34:20 +08:00
ruanshudong
293dd91088
remove objectproxy log
2020-11-09 15:34:20 +08:00
ruanshudong
f1e3f9d882
update protocol
2020-11-09 15:33:38 +08:00
yaoyao
0501e9641e
cmake copy .tars文件到tarsproto/protocol中
...
更改win中目录路径符合 \\到/
2020-10-23 18:38:32 +08:00
ruanshudong
67e27bd9e7
update protocol
2020-10-15 19:17:57 +08:00
Z.SX
8c9df5ccdd
Fix link error while using TC_Mysql
2020-10-01 23:13:16 +08:00
ruanshudong
bd0cb1bcfb
update servant/protocol
2020-09-29 16:17:08 +08:00
ruanshudong
0add321b25
update servant/protocol
2020-09-29 16:16:20 +08:00
ruanshudong
500d033de8
fix http keep-alive bug
2020-09-23 13:38:29 +08:00
ruanshudong
8a7cd8bfed
fix dye bug
2020-09-23 10:25:23 +08:00
ruanshudong
97f7c22e98
fix tc_encoder crash, fix servantproxy get host info crash
2020-09-22 16:55:37 +08:00
ruanshudong
a314beffe4
fix changelist
2020-09-19 17:25:41 +08:00
ruanshudong
59a569b38e
update servant/protocol
2020-09-19 12:01:19 +08:00
ruanshudong
029795e645
update servant protocol
2020-09-19 11:59:33 +08:00
ruanshudong
50d1da1963
add ProxyInfo files
2020-09-17 21:44:34 +08:00
ruanshudong
f984a83cd2
update servant/protocol
2020-09-17 21:36:37 +08:00
ruanshudong
a0182dcbb9
- fix gtest compiler bug
...
- fix epoll memory leak in windows
- fix tc_encoder crash bug
- fix tc_clientsocket bug
- fix tc_timer memory leak
- fix tc_openssl mode not be used
- fix TC_ Http2 failure problem (header cannot use temporary variables)
- always set thread data host info
- Adding the initialization of enumeration value in the resetDefautlt
function
- Part of the file encoding format is adjusted to utf8 BOM to ensure
that there is no problem in Windows compilation
- tc_common add various date processing functions
- tc_common add floating point comparison function
- tc_thread add multi thread hash logic
- tc_port add environment variable acquisition and system event
registration callback (compatible with multi platform)
- Adjust tc_sem_mutex event name (under Windows) to facilitate
subsequent maintenance
- rpc add support for http/sock4/sock5 proxy
- application add ssl bind check
- Fix the bug of RPC in HTTP short SSL package connection (under
Windows)
- communicator add update endpoint
- fix communicator exit logic to avoid possible crash in exit
- optimize the memory copy problem, reduce the memory copy, and improve
the performance
- Adjust the custom callback and put it in servantproxy
2020-09-17 21:35:19 +08:00
ruanshudong
5181b33fe3
ifx gtest compiler bug
2020-09-13 14:57:15 +08:00
ZhiQiang Fan
78d88df420
always set thread data host info
...
fix: https://github.com/TarsCloud/TarsCpp/issues/118
2020-09-06 20:10:08 +08:00
ruanshudong
7a6f1d2d9e
Merge commit '152b960' into release/2.4
2020-09-05 21:37:28 +08:00
ruanshudong
152b960e42
fix epoll memory leak in windows
2020-09-05 21:36:46 +08:00
ruanshudong
a934906d96
update protocol
2020-09-02 18:49:34 +08:00