Commit Graph

96 Commits

Author SHA1 Message Date
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
linfengchen(陈林峰)
07935b3997 fix tar2case bug 2020-06-09 20:25:09 +08:00
linfengchen(陈林峰)
625e329dce add 2020-05-23 17:07:09 +08:00
linfengchen(陈林峰)
ced44e22dd support json case benchmark 2020-05-22 15:52:53 +08:00
linfengchen(陈林峰)
4e5b93c199 优化生成代码,支持WEB平台用例解析 2020-05-11 19:33:47 +08:00
ruanshudong
55adab3be9 fix tars2node Current bug 2020-05-04 20:56:58 +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
2d9efed0d8 fix udp server bug 2020-04-28 20:00:04 +08:00
huanghua
4626fe1d08 fix bug about array with json in tar2cpp 2020-04-20 14:35:42 +08:00
ruanshudong
55903820b7 add tools/*, for windows compiler 2020-04-13 20:09:18 +08:00
linfengchen(陈林峰)
ab7ae05309 delete extra files 2020-04-07 19:37:28 +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
ruanshudong
84c14951cb Merge branch 'master' of https://github.com/forrestlinfeng/TarsCpp into forrestlinfeng-master 2020-04-06 16:03:43 +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
linfengchen(陈林峰)
dac1794d9a delete makefile 2020-04-03 15:55:20 +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
ruanshudong
d0dfcb4e18 fix flex & bison bug 2020-03-31 19:41:05 +08:00
ruanshudong
0f1a542e02 add gtest 2020-03-31 16:56:10 +08:00
ruanshudong
08228ba588 fix windows deploy, use mysql-tool & fix cmakelist, remote DEBUG/RELEASE 2020-03-24 22:31:26 +08:00
ruanshudong
8dd0fbfaed add tars2node files 2020-03-18 17:36:08 +08:00
ruanshudong
bcc6e2f20c update tars2node gen_proxy.cpp 2020-03-18 17:26:25 +08:00
ruanshudong
d2488da313 modify demo CMakeLists.txt
close TARS_SSL TARS_HTTP2 default
2020-03-18 17:09:27 +08:00
ruanshudong
614f02646f fix Thirdparty.cmake install 2020-03-12 14:08:46 +08:00
ruanshudong
4a6c45f7cd support cmake 2020-03-09 16:25:36 +08:00