Commit Graph

302 Commits

Author SHA1 Message Date
wuxf
af41549b63 RecvContext增加微秒接口,Current精确接收时间 2023-04-15 21:28:33 +08:00
wuxf
83d6195935 添加微秒获取接口 2023-04-15 21:28:33 +08:00
ruanshudong
5fbcdc6322
Merge pull request #262 from wincsb/master
Fix possible memory leaks
2022-12-02 10:51:50 +08:00
wincsb
7278f2fc2b
Fixed the issue that the HTTP client could only handle the return data less than 8KB
Fixed the issue that the HTTP client could only handle the return data less than 8KB
2022-11-18 10:57:11 +08:00
wuxf
c2d8241516 日志增加前缀 2022-11-18 10:42:38 +08:00
wincsb
b478c278a2
Fix possible memory leaks
Fix possible memory leaks
2022-11-16 13:50:03 +08:00
ruanshudong
7b1da8dd7e add tc_split 2022-11-11 18:11:43 +08:00
wincsb
8abf0f2409
Fixed the HTTP client crash when compiling with SSL and the unusable HTTP client when compiling without SSL 2022-11-07 14:19:34 +08:00
ruanshudong
3dd183353f Fix: TC_Port::getSystemMemInfo not close fd bug 2022-10-26 21:25:10 +08:00
ruanshudong
487cf89a5a Fix: threadpool waitForAllDone not quit bug 2022-10-26 21:22:58 +08:00
ruanshudong
019b0c914c feat: tc_http dorequest support https 2022-10-26 21:18:20 +08:00
ruanshudong
b0e2a89e4b fix: tc_common str2tm add memset tm 2022-10-26 20:56:05 +08:00
wuxf
c0e759864b 修复QueueMode模式下fd=-1导致进错队列 2022-09-21 15:30:09 +08:00
QuellaZhang
fa47d2f512 [MSVC][std:c++latest] Fix compiler error 2022-09-16 00:00:07 -07:00
ruanshudong
15a440aece add PushCallbackDemo 2022-09-07 14:52:15 +08:00
ruanshudong
82efee1f62 fix epoll server doReponse mistake in writing 2022-08-08 14:28:09 +08:00
ruanshudong
0693d46f19 fix getConnStatus bug that return all connections on all listen ports 2022-08-08 09:52:51 +08:00
ruanshudong
b905a633ff fix: epoll server doResponse close connection when client close
connection
2022-08-08 09:51:21 +08:00
ruanshudong
86ce46d9ee Fix: the problem of network efficiency in super large packages 2022-08-08 09:40:56 +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
6d06d90156 Fix: tc_port add #include <linux/param.h> 2022-06-28 15:38:52 +08:00
ruanshudong
38b6af1c32 Fix: tc_port compiler bug(lost reSize) 2022-06-28 15:30:38 +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
5e3652fec2 Fix: tc_clientsocket unix local socket bug 2022-06-28 14:57:47 +08:00
ruanshudong
025c66af6e Add: tc_clientsocket support unix local domain socket
Add: tc_docker use TC_Http::doRequest
2022-06-02 17:12:47 +08:00
DevilIsY
c3e29d27e3 Optimize: change doProtocolAnalysis() call getBufferLength() to get buff size 2022-05-25 23:27:49 +08:00
DevilIsY
8c07b157ce Fix: TC_NetWorkBuffer getBuffers bug cause crash 2022-05-25 23:06:03 +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
ee8df79bc7 Fix: tc_http strnstr compiler bug in linux 2022-04-29 14:08:46 +08:00
ruanshudong
b42e3acd4a Fix: tc_http compiler bug 2022-04-29 14:01:39 +08:00
ruanshudong
2599dfd652 Fix: tc_http strnstr bug cause crash 2022-04-29 13:51:47 +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
05640cfba1 Fix: tc_endpoint sepEndpoint bug 2022-03-28 21:05:43 +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
c77f0d838e Fix: tc_port sighandler lambda &->= 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
ruanshudong
4693e937ce fix tc_socket bind, throw TC_Socket_Exception with ip port 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