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
ruanshudong
ca9ef08f58
update protocol
2020-09-02 18:10:21 +08:00
ruanshudong
f1ff1a8099
update protocol
2020-09-02 17:05:25 +08:00
ruanshudong
0e9a2a7d4d
Merge branch 'master' into release/2.4
...
Conflicts:
cmake/Common.cmake
2020-09-02 17:05:09 +08:00
ruanshudong
8151683b2d
update protocol
2020-09-02 17:02:43 +08:00
ruanshudong
e63271d5de
fix ssl EndpointManager.cpp bug
2020-09-02 14:15:21 +08:00
ruanshudong
989d5a0c88
fix compiler bug
2020-08-21 09:11:04 +08:00
ruanshudong
a128d4f067
1 fix servant http call context release bug
...
2 fix servant connection reconnect dead cycle
3 fix http servant set timeout bug
4 fix windows roll log bug
5 fix tc_time postAtTime bug
6 remove TARS_SSL in header
7 fix windows gtest build bug
2020-08-20 21:01:18 +08:00
ruanshudong
9e6cfd931c
Merge branch 'master' into release/2.4
2020-08-18 21:39:25 +08:00
Z.SX
cc7cc85fc2
Fix tars-tool.cmake make upload
bug in linux
...
Fix `make upload` error when you install `cmake3` in linux
2020-08-10 16:09:20 +08:00
BeyondWUXF
427d0db769
Update tars-tools.cmake
...
一个Server下多个tars文件时只生成一个头文件
2020-08-08 01:57:56 +08:00
ruanshudong
d98ed23969
fix EndpointManager bug
2020-08-05 21:25:38 +08:00
ruanshudong
48a8d699cd
fix tars-tools.cmake upload tars bug
2020-08-05 21:01:28 +08:00
ruanshudong
1dd875c6ce
add tarsmerge tool, can merge tars file to one file.
2020-08-05 11:37:57 +08:00
ruanshudong
925e7fe802
Merge branch 'master' into release/2.4
2020-07-19 10:48:37 +08:00
keranbingaa
e571a4cb11
change default threads num from 0 to 1
2020-07-17 11:18:05 +08:00
linguokun
da1418b480
enable callback to application when accept new clients
2020-07-15 21:29:17 +08:00
BeyondWUXF
bb8f116c22
Update tars-tools.cmake
...
TARS_SSL=ON时cmake生成的makefile库链接顺序不正确导致生成可执行程序时链接出错
2020-07-14 21:08:55 +08:00
ruanshudong
476e1ca8d3
update servant
2020-07-01 09:22:58 +08:00
kivenchen
e3377ce5ef
submit totalReponse define
2020-06-20 18:41:42 +08:00
marklightning
43de9b6ad1
1. tars2cpp support tarsgateway; 2.AppProtocal add totalResponse for all protocal.
2020-06-14 19:58:11 +08:00
ruanshudong
ec843e1030
fix activing report time
2020-06-09 21:35:07 +08:00
ruanshudong
ee17821a2e
fix tars proto, overflow bug
2020-06-02 17:08:48 +08:00
ruanshudong
8f15543302
Merge pull request #70 from pingfang-tx/master
...
fix: p->getType() cause coredump when p is null
2020-05-29 10:28:04 +08:00
sxdpd
01f1fd1fc0
Update tars-tools.cmake
...
Fix 'make tar' bug on windows with msvc
2020-05-20 23:04:39 +08:00
pingfang
5c8e7b13c2
fix: p->getType() cause coredump when p is null
2020-05-15 10:24:34 +08:00
ruanshudong
7b0b7abac0
windows: tc_epoll_server when send pending add epoll mod; TarsTypes.h long long add tars_ntohll support
2020-05-06 11:17:36 +08:00
ruanshudong
5e0177bb85
add Chnagelist, add FILE_FUNC_LINE, tars_invoke_async &
...
tars_invoke change to public
2020-05-02 11:48:35 +08:00
ruanshudong
dca9521888
RemoteLogger.h add FILE_FUNC_LINE macro for debug
2020-05-01 20:43:07 +08:00
ruanshudong
be6549cf32
Merge pull request #64 from tantongchao/master
...
win64 long占4bytes,Int64该由long long定义
2020-04-26 20:08:59 +08:00
ruanshudong
32939768a8
update
2020-04-24 13:53:17 +08:00
tantc
699ec3db3c
win64 long占4bytes,Int64该由long long定义
2020-04-24 13:51:15 +08:00
ruanshudong
52cb48614c
fix README 404 bug
2020-04-15 16:12:13 +08:00
ruanshudong
55903820b7
add tools/*, for windows compiler
2020-04-13 20:09:18 +08:00
ruanshudong
ea34a2a50e
remote log
2020-04-13 19:36:01 +08:00
ruanshudong
6e72421208
remove LOG [TARS]
2020-04-13 19:35:01 +08:00
ruanshudong
489c1206c7
fix tarsnotify nodename bug
2020-04-13 16:21:22 +08:00
ruanshudong
c7a965d203
fix tarsnode nodename bug
2020-04-13 16:16:12 +08:00
ruanshudong
5626d794fe
update protocol
2020-04-09 19:57:11 +08:00
linfengchen(陈林峰)
b8b6609bee
modified: servant/makefile/tars-tools.cmake
...
modified: util/src/tc_epoll_server.cpp
2020-04-07 19:29:35 +08:00
linfengchen(陈林峰)
f601209c04
fix TarsWriteHeader cannot use by other file
2020-04-07 17:12:21 +08:00
ruanshudong
b3ba4bd4fd
fix tars-tools.cmake in mac, make tar bug
2020-04-07 14:42:16 +08:00
ruanshudong
94f8cf8d18
fix netthread spell bug
2020-04-06 21:09:28 +08:00
ruanshudong
97d34e16f5
fix tc_xml warning
2020-04-06 16:13:22 +08:00
ruanshudong
84c14951cb
Merge branch 'master' of https://github.com/forrestlinfeng/TarsCpp into forrestlinfeng-master
2020-04-06 16:03:43 +08:00
ruanshudong
92039a68a8
update servant/makefile/tars-tools.cmake, fix make tar bug
2020-04-04 18:40:07 +08:00
ruanshudong
aa7ba23144
update protocol
2020-04-04 11:42:36 +08:00
ruanshudong
689ea07f28
framework.tars install in tarscpp
2020-04-03 16:01:03 +08:00
ruanshudong
5760127b80
fix tars-tools.cmake, compatible mac & centos
2020-04-03 14:23:01 +08:00
ruanshudong
5c2039fd44
fix tars-tools.cmake bug , support make tar
2020-04-03 10:09:55 +08:00
linfengchen(陈林峰)
ad8bae850d
1\fix tc_json bug;2\support tars2xml
2020-04-02 18:57:36 +08:00
ruanshudong
750ee9e6fd
add files
2020-04-01 20:40:43 +08:00
ruanshudong
6d5f517be7
support http1, change file name same to taf
2020-04-01 20:29:29 +08:00