ruanshudong
46237e7493
fix tars2node to avoid warning
2023-03-07 11:43:09 +08:00
ruanshudong
019b0c914c
feat: tc_http dorequest support https
2022-10-26 21:18:20 +08:00
wuxf
17e87c69f0
tars2cpp增加servantHandlder&&callback增加右值引用重载
2022-09-22 17:33:47 +08:00
sky
0c7fd73587
fix: 多层嵌套tars文件,当第二次移除同一元素时会崩溃 orderFileNames.erase(it->second);
2022-09-22 17:33:47 +08:00
wuxf
910a506447
ServantHandle&async_callback支持右值引用参数
2022-09-02 18:56:09 +08:00
ruanshudong
f0c6e5a651
Add: tars2node add tars_ping, fix list & map as interface paramters bug
...
when http+json call bug
2022-07-02 18:01:33 +08:00
ruanshudong
22612ae8a4
Fix: tars2cpp sendResponse use TarsOutputStream
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
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
d0f3e37549
Add: add tars interface push support
2022-05-05 18:59: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
1d3726fd6e
add tc_docker
2022-03-21 10:30:35 +08:00
ruanshudong
26ce453b08
support run in container
2022-02-25 11:15:12 +08:00
kivenchen
86279d465b
1. ServantProxy add tars_open_trace(); 2. tars2cpp add tars_open_trace;
2021-12-14 23:03:20 +08:00
kivenchen
7e1288f602
add OPEN_TARS_TRACE for user to open tars-trace for tars-call
2021-12-14 21:38:18 +08:00
ruanshudong
44b559c5e4
tars2cpp add tars::TC_Common::equal when field is float or double
2021-11-22 18:33:51 +08:00
gavinwen
dbe93cf289
reset inner struct when resetDefautlt
2021-11-15 11:25:28 +08:00
gavinwen
d747734bb0
clear vector or map when tars struct reset
2021-11-11 14:37:53 +08:00
cuijg
d0eb946e57
fix build error on windows
2021-10-31 05:58:00 +08:00
kivenchen
43589cb05e
tars2cpp default with-trace
2021-10-17 11:07:18 +08:00
kivenchen
91cf4b9c51
add trace param length control by server template
2021-10-17 11:07:18 +08:00
kivenchen
4721f4ffc3
fix tars2node bug for json_support
2021-10-17 11:07:18 +08:00
kivenchen
f5240831e3
add tars-trace for tarscpp
2021-10-17 11:07:18 +08:00
root
98bc028996
fix tars protocol parse error when package len < 20
2021-09-26 10:33:31 +08:00
julianyang
68e20b7cf6
Add promise package.
2021-09-26 10:33:30 +08:00
ruanshudong
a5b95cddfa
fix tars2node add async in imp
2021-09-04 16:15:52 +08:00
ruanshudong
6b383550a5
add unitttest
2021-08-23 15:35:24 +08:00
ruanshudong
057eadfe56
fix tars hash AdapterProxy.h commet
2021-03-24 09:38:37 +08:00
ETZhangSX
a41082bc7e
fix Chinese comment encoding error
2021-03-24 09:35:38 +08:00
ruanshudong
3fb0d12b29
add ONLY_LIB, not build examples/servers by default, if you want build
...
examples, please cmake .. -DONLY_LIB=ON && make -j4
2020-12-31 09:20:18 +08:00
hukai
4f26b2b41e
已修改 tools/pb2tarscpp/CppGenCallback.cpp
...
已修改 tools/pb2tarscpp/CppGenProxy.cpp
2020-11-18 10:20:36 +08:00
ruanshudong
fb820c906f
update protocol
2020-11-16 17:55:25 +08:00
ruanshudong
0c33d8f1f7
fix windows & mac compiler error
2020-11-16 09:59:12 +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
fe55753441
add tarsparse, for windows compiler
2020-09-29 21:59:18 +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
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
ff4b89777f
Merge pull request #121 from lanhy/patch-3
...
Update tars2cpp.cpp
2020-09-13 14:26:48 +08:00
ruanshudong
69a330d361
Merge pull request #122 from westonli/master
...
在resetDefautlt函数中增加枚举值的初始化
2020-09-13 14:25:41 +08:00
rtt
45e8dbb142
fix encoding
2020-09-09 17:49:00 +08:00
westonli
ab6df9e4e1
在resetDefautlt函数中增加枚举值的初始化
2020-09-09 13:31:09 +08:00
lanhy
a0c8188428
Update tars2cpp.cpp
...
修改注释错误
2020-09-08 21:40:50 +08:00
ruanshudong
d2a82d0be9
fix tc_encoder crash bug
2020-09-04 16:42:49 +08:00
ruanshudong
1dd875c6ce
add tarsmerge tool, can merge tars file to one file.
2020-08-05 11:37:57 +08:00
ruanshudong
889b3e4847
tars2cpp remote routerkey support
2020-07-15 17:41:21 +08:00
kivenchen
0fcc72dfdf
modify tars2node to support JSON_VERSION for TarsGateway
2020-06-27 21:09:39 +08:00
marklightning
43de9b6ad1
1. tars2cpp support tarsgateway; 2.AppProtocal add totalResponse for all protocal.
2020-06-14 19:58:11 +08:00