Commit Graph

328 Commits

Author SHA1 Message Date
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
ruanshudong
0703a8f644 support tars cookie 2020-03-31 22:04:16 +08:00
ruanshudong
524799f9bb
Merge pull request #52 from pingfang-tx/master
Support server cookie
2020-03-31 20:30:04 +08:00
ruanshudong
0f1a542e02 add gtest 2020-03-31 16:56:10 +08:00
ruanshudong
fc4578e0c0 tc_port add getEnv/setEnv, exec command 2020-03-30 18:13:05 +08:00
ruanshudong
121adade0d fix tc_file get ext bug, add cmake_tars_server.bat for windows 2020-03-29 19:28:25 +08:00
ruanshudong
e836256a83 install script to execute 2020-03-28 14:03:51 +08:00
ruanshudong
a358072c52 fix tars-tools.cmake release bug 2020-03-27 20:26:23 +08:00
ruanshudong
0aa338b06b install in windows 2020-03-27 19:26:42 +08:00
pingfang
71cb7bec0b support server cookie 2020-03-25 19:12:44 +08:00
pingfang
1b4d58b290 support server cookie 2020-03-25 18:49:07 +08:00
pingfang
64fb9f7e63 support server cookie 2020-03-25 17:47:10 +08:00
pingfang
22fb8900c9 support server cookie 2020-03-25 17:44:06 +08:00
pingfang
7c4fa4f887 support server cookie 2020-03-25 17:28:25 +08:00
pingfang
886ad3b919 support server cookie 2020-03-25 17:20:32 +08:00
ruanshudong
addb77b5d5 suport tarsnode deploy in domain 2020-03-24 21:41:56 +08:00
ruanshudong
d2488da313 modify demo CMakeLists.txt
close TARS_SSL TARS_HTTP2 default
2020-03-18 17:09:27 +08:00
ruanshudong
ad39ed3dfd fix windows compiler 2020-03-14 19:05:47 +08:00
ruanshudong
9143c7a61a fix log & tars-tools.cmake, support upload by token 2020-03-14 17:53:34 +08:00
ruanshudong
9f124879e7 fix demo CMakeLists.txt, can cmake .. -DTARS_WEB_HOST=... 2020-03-13 09:44:57 +08:00
ruanshudong
59437a5f69 fix tars-tools.cmake support make tar 2020-03-12 14:49:37 +08:00
ruanshudong
614f02646f fix Thirdparty.cmake install 2020-03-12 14:08:46 +08:00
ruanshudong
d89067c3bb reserve makefile support 2020-03-10 20:50:37 +08:00
ruanshudong
b2ca1d68c1 change http-demo to cmake 2020-03-10 20:38:16 +08:00
ruanshudong
0339acf26a fix tars-tools.cmake support multi server compiler & upload 2020-03-10 19:24:43 +08:00
ruanshudong
64a03a0526 tars-tools.cmake support release all & upload all 2020-03-10 14:59:41 +08:00
ruanshudong
3100950932 add gtest 2020-03-10 10:42:12 +08:00
ruanshudong
daf02e3f9a add file 2020-03-09 16:28:25 +08:00
ruanshudong
4a6c45f7cd support cmake 2020-03-09 16:25:36 +08:00
ruanshudong
46a78d383d support windows compiler 2020-03-09 16:06:59 +08:00
ruanshudong
21f58d250b 1 udp in ipv6 bug
2 add tars.resource
3 fix rsp queue
4 add max buffer limit
5 send queue, data accumulate clear
6 Adjust cmake third library path
7 tc_network_buffer add iterator
8 optimize tc_http tc_http_async, improve http parser performance
2020-03-04 10:33:14 +08:00
ruanshudong
34c6435833 update protocol 2020-03-01 17:34:35 +08:00
jarodruan
30b29a09d1 rename file SSLServer.cpp 2020-02-28 14:45:37 +08:00
jarodruan
5bd0b9a2aa update Thirdparty, use mysql client lib 2020-02-27 22:07:29 +08:00
jarodruan
0eb936e4bc update cmake/Thirdparty.cmake not open ssl in unix 2020-02-27 14:44:02 +08:00
ruanshudong
4e1769cc7d update protocol 2020-02-27 11:26:46 +08:00
ruanshudong
eb9bcf9154 update CMakeLists.txt fix cmake 2.8 bug 2020-02-26 14:38:15 +08:00
jarodruan
1b9c92c436 support all thirdparty lib compiler and install in linux 2020-02-26 12:05:15 +08:00
ruanshudong
9062f061cc windows compiler, mysql depends ssl 2020-02-25 21:00:54 +08:00
ruanshudong
cbaa99c283 windows compiler mysql depends openssl 2020-02-25 18:14:12 +08:00
jarodruan
6cd033c64a update protocol 2020-02-23 10:59:47 +08:00
jarodruan
9a500bdc2a merge taf, and update auth crypo to des3 2020-02-22 21:22:51 +08:00
ruanshudong
f0bc2c2905 update 2.0 2020-02-20 22:03:37 +08:00
ruanshudong
ce4fdcf063 support framework 2020-02-20 22:00:32 +08:00
jarodruan
40ca80bfed fix windows vector<char> is empty, &buff[0] will crash 2020-02-19 16:04:43 +08:00
ruanshudong
a76cab4b1c fix vector &[0] bug 2020-02-19 15:44:32 +08:00
ruanshudong
4832dd19de fix run-http.bat 2020-02-19 11:14:50 +08:00
jarodruan
b0db8c4a2d fix tars2xxx in windows bug 2020-02-19 10:47:11 +08:00
ruanshudong
878f0b5426 fix windows compiler 2020-02-19 10:14:56 +08:00
jarodruan
270c0cfe5d update tarsparse for windows compiler easy 2020-02-19 09:01:58 +08:00
ruanshudong
539fb61b76 http2 in linux succ 2020-02-18 14:55:40 +08:00
ruanshudong
87606c8969 fix linux compiler 2020-02-18 09:17:16 +08:00
jarodruan
f221f966a3 http2 server & client multi thread succ 2020-02-17 20:47:20 +08:00
jarodruan
96c0a8bbd1 http2 sync and async succ, modify async interface 2020-02-17 20:16:18 +08:00
jarodruan
8f3c4cdd7b add tc_http2 base class 2020-02-17 10:08:29 +08:00
jarodruan
c8c2800c09 http2 sync succ 2020-02-17 09:06:10 +08:00
jarodruan
0d6a4eb76b http2 compiler succ, sync has bug 2020-02-16 20:17:52 +08:00
jarodruan
0350c6cdf8 ssl & auth succ 2020-02-15 19:40:08 +08:00
jarodruan
50f74d5982 normal & ssl all succ 2020-02-14 15:08:17 +08:00
jarodruan
a20b3e1e01 add auth ssl, ssl succ 2020-02-14 14:07:16 +08:00
jarodruan
2eaa72a378 Transceiver add finishInvoke for auth 2020-02-12 20:35:39 +08:00
jarodruan
5229509b66 run-all succ except http 2020-02-12 16:50:16 +08:00
ruanshudong
7c359b7281 linux compiler succ 2020-02-12 10:55:00 +08:00
ruanshudong
bcb8884843 fix compiler bug 2020-02-12 10:23:24 +08:00
jarodruan
b9ca43dcdd update ssl 2020-02-12 09:32:12 +08:00
jarodruan
aada7d6465 add protobuf zlib depends 2020-02-11 21:37:07 +08:00
ruanshudong
b66a7c0733 update ExternalProject_Add, nghttp2 need cmake 3.0 2020-02-11 20:25:31 +08:00
jarodruan
8693c840b5 support cmake download url: mysql, ssl, nghttps
update buffer
2020-02-11 17:50:24 +08:00
jarodruan
877da51524 http2 can only send slow 2020-02-10 22:30:36 +08:00
jarodruan
9f5da0f7bf support http2 succ 2020-02-10 16:23:17 +08:00
jarodruan
9a9fda7b6e remove not use code 2020-02-10 14:40:55 +08:00
jarodruan
a17cef6a01 http2 sync + async succ 2020-02-10 14:25:00 +08:00
jarodruan
86a350f80d update tc_http2, remove tc_http2clientmgr tc_http2session tc_nghttp2 2020-02-10 12:08:02 +08:00
jarodruan
642c9228d7 nghttp2 succ 2020-02-10 09:39:49 +08:00
ruanshudong
042f1412c8 http2 compiler succ 2020-02-09 23:03:52 +08:00
ruanshudong
213fea871c http short syncall ok 2020-02-09 18:20:42 +08:00
jarodruan
bef3665f03 http rpc call support 2020-02-09 17:03:32 +08:00
jarodruan
30723faaf5 change tars::ProxyProtocol::requestFunc 2020-02-09 14:31:30 +08:00
jarodruan
c7b451eedf update compiler bug 2020-02-08 20:52:12 +08:00
jarodruan
d74fad95ad update protocol 2020-02-08 20:30:37 +08:00
jarodruan
27df3c68c8 add CustomDemo 2020-02-08 20:10:02 +08:00
jarodruan
5cf2c76870 add win_create.bat 2020-02-07 17:35:07 +08:00
jarodruan
52b48eb92c windows run succ 2020-02-07 16:44:32 +08:00
jarodruan
0dec946ba4 update tup, add tc_port::getpid 2020-02-07 14:55:31 +08:00
jarodruan
70e41b2486 update bat sh 2020-02-07 13:56:40 +08:00
jarodruan
ac7c68ec0f add bat 2020-02-07 13:52:12 +08:00
jarodruan
5c90bd38b9 compiler on windows succ 2020-02-07 13:50:04 +08:00
ruanshudong
dded31f122 add config, run-push run-co, fix initialize bug 2020-02-02 20:35:17 +08:00
ruanshudong
cfd4d576c7 fix coro bug 2020-02-02 15:42:56 +08:00
ruanshudong
6dc380ff7e run quick start ok 2020-02-01 14:24:43 +08:00
ruanshudong
4a60c1b9bd fix adapter proxy bug 2020-01-30 17:36:59 +08:00
ruanshudong
8b3524243a fix crash 2020-01-30 17:36:57 +08:00
jarodruan
08cddb7d4b fix adapter proxy bug 2020-01-30 17:25:38 +08:00
jarodruan
6c82e25398 fix co bug & tc_timeout_queue_new generateId bug 2020-01-30 14:07:16 +08:00
ruanshudong
9a9bce6a0a linux build succ 2020-01-29 21:34:03 +08:00
jarodruan
91f768f512 TAF->TARS 2020-01-29 21:04:15 +08:00
jarodruan
2401420e78 compiler examples, add auto test scripts 2020-01-29 20:52:34 +08:00
jarodruan
17df5bba83 add examples CMakeLists.txt 2020-01-29 15:52:39 +08:00
jarodruan
fedd9f4a71 compiler succ 2020-01-28 21:51:45 +08:00
jarodruan
0b2175e5dc util & tools compiler succ 2020-01-27 20:13:21 +08:00
ruanshudong
f35ddf2b60 TarsNotify.h add notify any app & server 2020-01-20 13:53:46 +08:00
ruanshudong
6921007b29 fix notify, support nodeid is domain 2020-01-20 09:12:41 +08:00
ruanshudong
970571dd28 update protocol 2020-01-03 15:49:19 +08:00
shevqko
fa0a00a7ae add tars local auth process 2020-01-03 15:33:37 +08:00
ruanshudong
43103f10fd fix tc_common double bug
tc_common add time function, tc_autoptr use std::atomic
2019-12-17 13:48:03 +08:00
ruanshudong
4385398f84 add version 2019-12-13 19:17:23 +08:00
ruanshudong
b23755ad73
Merge pull request #19 from zhanleewo/patch-1
Incorrect MIME type
2019-12-13 18:52:16 +08:00
ruanshudong
c9c364dfed modify cgi encodeURL 2019-12-13 18:07:15 +08:00
ruanshudong
ac3a0d086f tars notify add notify message to app.server.nodename, web will show this message 2019-12-13 17:49:03 +08:00
ruanshudong
bf07a8015a support simple json tars2json 2019-11-30 20:01:04 +08:00
ruanshudong
553e237697 remove log 2019-11-05 09:25:28 +08:00
ruanshudong
ddd7e5262d fix dns parse bug 2019-11-05 09:24:10 +08:00
ruanshudong
e21ab4fcf2 fix dns bug, if dns not be resolved then resolved when connect every time 2019-11-04 21:49:20 +08:00
ruanshudong
57da604c10 remove logs
modify CMakeList remove cmake warning
2019-11-04 15:04:14 +08:00
Lin Zhan
3a7c4e3951
Invalid MIME type
The Correct HTML MIME Type is text/html
2019-05-16 19:00:10 +08:00
huiyongchen
7154194106 fix compile problem of some gcc compiler:dynamic array can't be initialized where defined 2019-05-16 11:18:33 +08:00
huiyongchen
df4c3ab7cb update tree id of submodule 2019-04-24 13:23:14 +08:00
huiyongchen
831b21e266 add miss file text_map_carrier.h for tars tracking 2019-04-24 10:39:39 +08:00
huiyongchen
c4c5aba117 add support of zipkin trace 2019-02-21 21:10:13 +08:00
yuansx
514baf8410
Merge pull request #3 from Abioy/master
Remove some useless code and check array index before using it
2018-12-28 10:05:09 +08:00
yuansx
fdc6d32d8c
Merge pull request #13 from Spacebody/master
Fixed a typo in AppProtocol.h and tc_epoll_server.h and correct the encoding of tars_protobuf_cpp.md
2018-12-28 10:02:55 +08:00
yuansx
b35d7e76a4
Merge pull request #4 from viest/fix_readv
Fix: ::readv has not been declared
2018-12-28 10:02:12 +08:00
yuansx
506654ad4a
Merge pull request #9 from chenyahui/master
convert the charset of docs/tars_protobuf_cpp.md from gb2312 to utf8
2018-12-28 10:00:53 +08:00
Spacebody
fb07412e82 Fix a typo in AppProtocol.h 2018-12-21 16:05:02 +08:00
yuansx
ccff8218ad fix gcc8.2 compiler error 2018-12-11 11:20:27 +00:00
yuansx
afd693ebae fix gcc8.2 compiler error 2018-12-11 11:16:35 +00:00
yuansx
8a8145e63f support parallel make 2018-12-09 08:14:42 +00:00
yahuichen(陈亚辉)
7f1b8c41fd fix the bug: error: ‘::readv’ has not been declared 2018-11-23 12:10:39 +08:00
root
49b96f7a74 add supports ipv6 code 2018-10-22 22:11:06 -04:00
viest
7b38d4529c Fix: ::readv has not been declared 2018-10-20 14:07:50 +08:00
root
ed4727a484 fix pb2tars compiler and run system error 2018-10-02 19:54:10 -04:00
Sun Yongyue
db38d4af21 Remove some useless code and check array index before using it
Signed-off-by: Sun Yongyue <abioy.sun@gmail.com>
2018-09-30 11:11:33 +08:00
derekyuan
717971e1cb update submodule protocol 2018-09-21 18:02:36 +08:00
derekyuan
b71d2c7cda update submodule protocol version 2018-09-21 15:12:21 +08:00
derekyuan
2c670b888a CMakeList.txt 2018-09-11 21:37:42 +08:00
root
711a5ed70c add tarscpp files 2018-09-05 11:26:21 +08:00