Commit Graph

40 Commits

Author SHA1 Message Date
qicosmos a97787994c set close interface public 2019-05-25 10:37:51 +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 39c515944a simplify code. 2019-05-24 09:30:01 +08:00
qicosmos fef215e7e6 simplify user interface 2019-05-23 18:56:55 +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 c0efc5a07b the server support multiple thread response. 2019-05-21 16:40:28 +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 e24c9a341b add connection timeout callback 2019-05-18 09:49:51 +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 d5dd09496c update for c++11 2019-04-10 13:57:30 +08:00
qicosmos d51f9b19fb update for c++11 2019-04-10 13:54:52 +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
qicosmos 934f545648 update 2019-04-03 10:18:25 +08:00
qicosmos 029d08b5f9 update, add upload/download example 2019-03-28 12:58:18 +08:00
qicosmos 2eb0d4f7df add wait_conn 2019-03-27 10:00:16 +08:00
qicosmos 17598a5940 fix 2019-03-23 10:27:55 +08:00
qicosmos 70d7627575 update 2019-03-22 11:15:32 +08:00
qicosmos fa0503f156 update 2019-03-22 11:09:10 +08:00
qicosmos 5a6e033e54 adjust directory 2019-03-21 16:03:24 +08:00