TarsCloud_TarsCpp/examples
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
..
AuthDemo support http1, change file name same to taf 2020-04-01 20:29:29 +08:00
CoroutineDemo support http1, change file name same to taf 2020-04-01 20:29:29 +08:00
CustomDemo support http1, change file name same to taf 2020-04-01 20:29:29 +08:00
HttpDemo - fix gtest compiler bug 2020-09-17 21:35:19 +08:00
PushDemo fix windows vector<char> is empty, &buff[0] will crash 2020-02-19 16:04:43 +08:00
QuickStartDemo remove QuickStartDemo log 2020-04-06 21:33:43 +08:00
scripts support http1, change file name same to taf 2020-04-01 20:29:29 +08:00
SSLDemo support http1, change file name same to taf 2020-04-01 20:29:29 +08:00
StressDemo run-all succ except http 2020-02-12 16:50:16 +08:00
UdpDemo fix tc_file get ext bug, add cmake_tars_server.bat for windows 2020-03-29 19:28:25 +08:00
UtilDemo fix epoll memory leak in windows 2020-09-05 21:36:46 +08:00
CMakeLists.txt support http1, change file name same to taf 2020-04-01 20:29:29 +08:00
README.md add example/readme links 2018-11-27 17:46:20 +08:00

该工程是Tars入门示例的代码

目录名称 功能
QuickStartDemo 开发快速入门的示例
PromiseDemo promise编程的示例[]
HttpDemo http服务端的示例
CoroutineDemo 协程的示例
StressDemo tars c++压测代码
PushDemo tars push 模式demo