Commit Graph

33 Commits

Author SHA1 Message Date
qicosmos b86bf6b610 fix for reconnecting 2019-06-06 14:41:50 +08:00
qicosmos 541796de7b more clear error message 2019-06-05 16:35:42 +08:00
qicosmos f2e475509c for safe async call_back. 2019-06-03 20:39:06 +08:00
qicosmos bb5434cebe fix for future 2019-06-03 19:06:17 +08:00
qicosmos fc5e6bb913 modify a parameter name 2019-06-01 09:51:17 +08:00
qicosmos 6610d4e374 connection timeout seconds to milliseconds;
return exactly unpack error message.
2019-06-01 09:48:05 +08:00
qicosmos 47f5352633 support multiple thread 2019-05-27 20:50:21 +08:00
Gitea decc19cb38 add sync run 2019-05-24 16:25:47 +08:00
qicosmos 9a2416555d fix for gcc c++17 2019-05-24 15:28:18 +08:00
qicosmos 280e2c40dd modify async_call interface 2019-05-23 17:28:27 +08:00
Gitea 0310511821 update 2019-05-23 15:52:55 +08:00
qicosmos 8d2f3c9b42 update 2019-05-21 15:48:58 +08:00
qicosmos 3f36d538c7 support callback. 2019-05-18 17:23:10 +08:00
qicosmos f33835d498 improve performance;
simplify code.
2019-05-17 14:56:44 +08:00
qicosmos f1e444f63b support asio standalone. 2019-05-17 11:34:40 +08:00
qicosmos 5665764139 fix for vs2017 2019-05-06 15:58:57 +08:00
qicosmos 5424cd2986 fix a bug in reconnecting 2019-05-06 11:34:31 +08:00
qicosmos 2bc5b8c455 update 2019-05-05 09:39:33 +08:00
qicosmos 9de8115b89 check future 2019-04-29 09:13:10 +08:00
qicosmos 69152200fe checking if it is empty data 2019-04-26 16:20:17 +08:00
Gitea 9a8362d0ed improve atomically async_reconnect. 2019-04-26 15:42:34 +08:00
qicosmos 82fb3fb800 add sleep when reconnect the peer; 2019-04-23 13:40:59 +08:00
qicosmos d0c11da6a4 set close() public;
add assert for connect;
2019-04-19 17:48:48 +08:00
qicosmos da76963051 set the connection state. 2019-04-19 15:48:16 +08:00
qicosmos c08ea5ef1f 1.add some new connect interface;
2.add call with timeout interface;

all are for more friendly interface.
2019-04-19 15:39:23 +08:00
qicosmos e34e7a8d08 fix for c++11 2019-04-10 14:15:29 +08:00
qicosmos 5d3715c670 go back to c++11 (;′⌒`) 2019-04-10 13:48:35 +08:00
qicosmos 070390a93e remove callback, avoid callback hell. 2019-04-05 13:55:21 +08:00
qicosmos 7eaab98b12 fix a bug of client;
add performance test code.
2019-04-04 16:55:48 +08:00
qicosmos 996104e40c rename;
unified sync_client and async_client, reuse the same code.
2019-04-03 11:27:35 +08:00
qicosmos 75a884f792 rename 2019-04-03 10:31:23 +08:00
qicosmos fb030b2085 remove 2019-04-03 10:30:51 +08:00
qicosmos afb1d25fe9 rename 2019-04-03 10:29:23 +08:00