Commit Graph
587 Commits
Author SHA1 Message Date
Darien Raymond f7dd7e6279 support stats counter in ray stream 2018-03-30 23:17:28 +02:00
Darien Raymond 3ff570a050 write listen error to log 2018-03-21 23:38:49 +01:00
Darien Raymond 169b901c2d lazy init of dialer map 2018-03-21 23:28:28 +01:00
Darien Raymond e647292b9a protect against writing to closed body 2018-03-21 12:53:57 +01:00
Darien Raymond d1898b995f remove unnecessary NewSize 2018-03-11 23:45:24 +01:00
Darien Raymond 994aecd13c rename NewLocal to NewSize 2018-03-11 23:29:17 +01:00
Darien Raymond f17b865982 gofmt 2018-03-08 21:07:01 +01:00
DarienRaymond ff1e386a04 Merge pull request #931 from wuxiangzhou2010/master
fix typo
2018-03-07 13:05:20 +01:00
Jinqiu Yu 794dfd5bf3 Dedup protocol registration 2018-03-06 15:24:52 +08:00
Ubuntu 7b28be596d fix typo 2018-03-02 08:26:14 +00:00
Darien Raymond e5d3783ed7 consume config in dialer and hub 2018-03-01 14:22:33 +01:00
Darien Raymond d207d953bd h2 transport 2018-03-01 13:16:52 +01:00
Darien Raymond bdab1af29a update tls config generation 2018-02-28 15:15:22 +01:00
Darien Raymond 58e79dbdc5 refactor kcp.ReadSegment 2018-02-25 23:00:04 +01:00
Darien Raymond 4783b8f2c6 stop doing anything after being released. fixes #804 2018-02-25 22:13:42 +01:00
Darien Raymond caa52e9327 early release buffers for better reusing 2018-02-25 00:02:31 +01:00
Darien Raymond 1e0cad50b1 buffered input in kcp client 2018-02-24 23:23:10 +01:00
Darien Raymond 6b872c266c session id 2018-02-22 15:26:00 +01:00
Darien Raymond ae395bbe1f increase udp hub capacity 2018-02-12 15:08:20 +01:00
Darien Raymond 7391b2439e simplify udp hub 2018-02-12 13:14:11 +01:00
Darien Raymond d801be71ea comments 2018-02-12 11:53:41 +01:00
Darien Raymond 94e930175a update log 2018-02-12 11:52:57 +01:00
Shelikhoo d065e722a1 Added Additional Debug output and error message for #854 2018-02-12 11:55:39 +08:00
Darien Raymond ae52e325a2 send ack more frequently too 2018-02-11 02:08:20 +01:00
Darien Raymond 0a6a9547a0 fix kcp for not sending data immediately 2018-02-11 02:06:43 +01:00
Darien Raymond 278fd7261e remove context in udp hub 2018-02-08 22:09:41 +01:00
Darien Raymond acc6ea3e6b fix websocket test 2018-02-08 16:39:18 +01:00
Darien Raymond 9fdb783729 fix kcp test 2018-02-08 16:22:44 +01:00
Darien Raymond efcb567273 remove context in struct 2018-02-08 15:39:46 +01:00
Darien Raymond 3a0f211c22 gofmt 2018-02-05 23:39:04 +01:00
Darien Raymond 630a76d06a kcp cleanup 2018-01-17 17:36:14 +01:00
Darien Raymond a6c0ef11ba check connection state for every write operation 2018-01-17 16:18:38 +01:00
Darien Raymond ec54b04537 fix test break 2018-01-10 13:07:56 +01:00
Darien Raymond 292d7cc353 massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond c5d356545e comments for typed messages 2018-01-04 11:24:17 +01:00
Darien Raymond 9ccdf67d2d fix lint warnings 2018-01-02 18:57:22 +01:00
Darien Raymond 30f27706e0 Use 'h2' for ALPN in TCP 2018-01-02 18:16:36 +01:00
Darien Raymond 9b15e2f6f7 more informational logs 2017-12-27 21:39:14 +01:00
Darien Raymond 8a09c6c926 migrate to signal.Semaphore and Notifier 2017-12-27 21:33:42 +01:00
Darien Raymond f4c35db968 merge log into common log 2017-12-19 21:28:12 +01:00
Darien Raymond 054ceb865d avoid port in-use error in websocket test 2017-12-19 13:37:37 +01:00
Darien Raymond 91ca88bcff read original addr from x-forwarded-for header if present 2017-12-18 20:34:00 +01:00
Darien Raymond 3cc6d8f653 fix a data race in KCP 2017-12-17 01:22:39 +01:00
Darien Raymond 048ffbc7dc simplify tls config 2017-12-17 00:53:17 +01:00
Darien Raymond 9561301fea update headers test cases 2017-12-16 23:31:05 +01:00
Darien Raymond 80e43a6b37 reduce websocket memory usage 2017-12-16 02:04:51 +01:00
Darien Raymond 4fad49fef8 fix build break 2017-12-14 23:43:28 +01:00
Darien Raymond 2acef1cc07 cleanup kcp connection 2017-12-14 23:24:40 +01:00
Darien Raymond 0032760fdc cleanup kcp connection 2017-12-14 23:02:10 +01:00
Darien Raymond 19a0d21cb6 fix kcp write 2017-12-05 18:04:34 +01:00