Commit Graph

166 Commits

Author SHA1 Message Date
ruanshudong
f68205f113 fix tc_timer, Events at the same time are executed in the order of posts 2023-04-27 10:34:59 +08:00
wuxiaofeng1
7d32e277bb rpc增加服务端耗时统计 2023-04-15 21:28:33 +08:00
wuxf
af41549b63 RecvContext增加微秒接口,Current精确接收时间 2023-04-15 21:28:33 +08:00
wuxf
83d6195935 添加微秒获取接口 2023-04-15 21:28:33 +08:00
wuxf
c2d8241516 日志增加前缀 2022-11-18 10:42:38 +08:00
ruanshudong
7b1da8dd7e add tc_split 2022-11-11 18:11:43 +08:00
ruanshudong
019b0c914c feat: tc_http dorequest support https 2022-10-26 21:18:20 +08:00
westonli
6082be4557
Merge branch 'TarsCloud:master' into master 2022-08-07 23:10:46 +08:00
xigua
2070c97dc1 修复TC_Shm类,先detch后无法del的问题 2022-07-20 16:54:32 +08:00
westonli
b9423d1f60 add common protocol call 2022-07-03 22:17:24 +08:00
ruanshudong
d16cb3fd28 Add: tc_port add some func(now only work in linux) 2022-06-28 14:57:47 +08:00
ruanshudong
31272c63cb Add: tc_file listDirectory add ignoreHide 2022-06-28 14:57:47 +08:00
ruanshudong
90d11f6f92 Add: tc_common add UTC2LocalTime 2022-06-28 14:57:47 +08:00
ruanshudong
b5d993ccb9 Add: tc_docker add exec, tc_logger thread use unique_ptr, tars2cpp
tars_hash use uint32_t
2022-05-23 13:43:03 +08:00
lbbniu
0b279f69cf Consistent hash algorithm modified int32_t to uint32_t 2022-05-22 10:19:53 +08:00
ruanshudong
c5d1876977 Add: update protocol 2022-05-16 15:17:00 +08:00
ruanshudong
e8af8838ae Add: tc_config add erase/eraseDomain, servant add doNoFunc 2022-05-09 10:12:05 +08:00
ruanshudong
c2ae8f93b5 Add: TC_ThreadPoolHash::getThread and LOG_CONSOLE_DEBUG add millsecond
time output
2022-04-27 14:50:29 +08:00
ruanshudong
1b9ebbdde5 Fix: ObjectProxy initialize & doTimeout no in same thread, may cause
crash
Fix: thread process may delay in epoll_server NET_THREAD_MERGE_HANDLES_THREAD mode
2022-04-19 18:52:40 +08:00
ruanshudong
7bdd00f0f5 Fix: update registry ip list cause crash
Add: tc_json JsonValueArray add `find` func
Fix: epoll server checkFlow initialize parameter error
2022-04-15 15:31:57 +08:00
ruanshudong
fe25b3aed4 Fix: there is no business interface callback if there is no available node during asynchronous call
Optimize: In the service model, after receiving data, it is inserted into the queue in batch
Add: tc_json adds the function of merge
Optimize: the time occupation when parsing the protocol at the network layer, and release the network thread every 1ms to reduce the delay
2022-03-24 14:43:15 +08:00
ruanshudong
3cba519c4c Update: tc_common now2ms add commet 2022-03-21 17:50:39 +08:00
ruanshudong
23001d0576 tc_docker use 1.40 version default 2022-03-21 17:50:39 +08:00
ruanshudong
4aacb03e6a fix: tc_timer single timer work does not work 2022-03-21 10:30:35 +08:00
wuxiaofeng1
ebeadaf813 修复tc_timer内存泄露 2022-03-21 10:30:35 +08:00
jarodruan
f1122f165f fix windows compiler bug, not support unix socket 2022-03-21 10:30:35 +08:00
ruanshudong
7d024f3ab1 fix tc_docker start, port can set hostIp 2022-03-21 10:30:35 +08:00
ruanshudong
1d3726fd6e add tc_docker 2022-03-21 10:30:35 +08:00
ruanshudong
b26ac41451 logger buffer 10M->2k 2022-03-03 17:36:54 +08:00
ruanshudong
26ce453b08 support run in container 2022-02-25 11:15:12 +08:00
edisenwang
c847611b11 修复在重复定时处理函数中,删除定时任务时_tmeEvent造成得内存泄露 2022-01-20 15:55:09 +08:00
wuxiaofeng1
e5ac86f299 一致性hash异常适配域名、ipv6 2022-01-01 20:36:03 +08:00
ruanshudong
782b008443 tars json support enum as map key 2021-11-22 18:33:51 +08:00
ruanshudong
630ad69e22 fix tc_epoller commet 2021-11-22 18:33:51 +08:00
wuxiaofeng1
bd5d9a0254 json输出支持不包含空格的紧凑格式 2021-11-13 16:04:11 +08:00
cuijg
d0eb946e57 fix build error on windows 2021-10-31 05:58:00 +08:00
Heysion Yuan
e21a9bf934 fix: fix tc_autoptr.h Type p to nullptr
Fix tc_autoptr.h Type p to nullptr

Log:
2021-10-22 15:20:29 +08:00
wincsb
f6b7b74ecd Fix gcc 11 compilation error 2021-10-17 11:07:18 +08:00
jarodruan
e7a77deb45 support mac arm & windows compiler 2021-10-17 11:07:18 +08:00
jarodruan
7d908b3797 fix windows encode utf8bom 2021-10-17 11:07:18 +08:00
julianyang
68e20b7cf6 Add promise package. 2021-09-26 10:33:30 +08:00
ruanshudong
62dd04ec2c fix linux compiler bug, tc_port need <memory> 2021-09-08 13:47:48 +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
edisenwang
79acc8debf Merge branch 'master' of https://github.com/edisenwangK/TarsCpp into hotfix/edisenwangK/fix_tc_json_bug 2021-08-06 02:07:28 +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
edisenwang
49df6a5c53 增加tc_json.h int64_t字段,double字段存储int64_t值有可能会丢失精度 2021-06-30 18:41:02 +08:00