Commit Graph

137 Commits

Author SHA1 Message Date
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
ruanshudong
2f1df872a3 fix tc_thread_queue,Optimizing the swarm effect 2021-04-13 11:36:46 +08:00
ruanshudong
521bc4b44e
Merge pull request #161 from xingyuuchen/master
fix TC_ThreadQueue 可能出现的惊群效应 & terminate退出时阻塞等待不用非得等到超时
2021-04-13 09:22:37 +08:00
xingyuuchen
6e3444f570 fix TC_ThreadQueue terminate退出时阻塞等待不用非得等到超时 2021-04-02 14:00:19 +08:00
ruanshudong
e5d549ffa9 update tc_timer repeat bug and update changelist 2021-04-01 21:57:35 +08:00
xingyuuchen
7da75e68c3 fix TC_ThreadQueue中多个线程同时调用condition_variable.wait()等待时可能出现的惊群效应 2021-03-31 11:04:00 +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
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
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
cachebyte
0e590fdc56 change format of some files to UTF-8 BOM to fix compile errors under windows without changing any codes in these files. 2020-12-10 16:24:26 +08:00
ruanshudong
0c33d8f1f7 fix windows & mac compiler error 2020-11-16 09:59:12 +08:00
ruanshudong
be0cab8d46 epoll add/del/mod and return value 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
680d9ff52e when epoll server exit, close all fd. 2020-11-09 15:34:21 +08:00
Archer
51340d919f 降低using namespace的可见性 2020-10-17 16:13:06 +08:00
ruanshudong
824ce13930 Network epoll notification handle is changed to UDP handle instead of
socket pipe mode to save the number of handles
2020-10-11 12:38:44 +08:00
ruanshudong
8a7cd8bfed fix dye bug 2020-09-23 10:25:23 +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
179c75eab8 gbk2utf8 mode default set to ICONV_IGNORE 2020-09-02 14:24:44 +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
dannychen
bf0ab2d437 tc_encoder optimize 2020-08-07 16:21:07 +08:00
FrankLee
a1f471fd38
Merge pull request #109 from Douwanna/release/2.4
Update notes
2020-08-04 11:01:12 +08:00
Douwanna
0d5c2b6d3b
Update tc_parsepara.h 2020-08-01 00:10:10 +08:00
Douwanna
a52c92f888
Update notes 2020-08-01 00:04:47 +08:00
FrankLee
f45b17324e
Merge pull request #104 from Douwanna/release/2.4
Upload notes
2020-07-22 08:59:26 +08:00
Douwanna
c96a04b289
Upload notes 2020-07-19 17:12:03 +08:00
ruanshudong
925e7fe802 Merge branch 'master' into release/2.4 2020-07-19 10:48:37 +08:00
Douwanna
5cc4772671
Upload notes 2020-07-17 16:11:12 +08:00