Commit Graph

39 Commits

Author SHA1 Message Date
Andy Wang
fd695db044
Reduce unnecessary test bloat 2020-12-28 01:27:40 +00:00
Andy Wang
8fbb2dd8cc
Add more data reception tests 2020-12-28 00:29:56 +00:00
Andy Wang
23b32b603f
Latency benchmark 2020-12-27 22:01:41 +00:00
Andy Wang
e0b97db7cc
Add unordered benchmark for RecvDataFromRemote 2020-12-27 21:40:59 +00:00
Andy Wang
d1b05ee9e5
Add new encryption method option aes-128-gcm 2020-12-27 13:26:45 +00:00
Andy Wang
415523f10a
Refactor obfuscate and deobfuscate functions to reduce a layer of indirection 2020-12-26 00:49:36 +00:00
Andy Wang
35f41424c9
Use default hashmap to store streams. Avoid allocating a stream object on receiving every single frame 2020-12-22 20:21:40 +00:00
Andy Wang
badda76454
Improve data receive benchmark 2020-12-22 13:40:37 +00:00
Andy Wang
c9ac93b0b9
Refactor session_test.go 2020-12-21 20:38:28 +00:00
Andy Wang
4a37449d33
Replace all time-sensitive tests with assert.Eventually 2020-12-19 20:14:43 +00:00
Andy Wang
8d146582d2
Add release action 2020-12-19 19:42:31 +00:00
Andy Wang
005da456c0
Fix timing sensitive tests 2020-12-19 19:30:53 +00:00
Andy Wang
061b10e802
Improve tests code quality 2020-12-06 11:14:33 +00:00
Andy Wang
39c06a6e1d
Update comment 2020-12-04 22:27:24 +00:00
Andy Wang
0f6e0d37b5 Rename constants to camel case 2020-10-21 16:42:24 +01:00
Andy Wang
f8f02bfc43 Parameterise session inactivity timeout 2020-10-18 15:51:57 +01:00
Andy Wang
3e133090f0 Give more descriptive names to multiplex objects 2020-10-15 22:51:36 +01:00
Andy Wang
53c0c6bafe Explicitly allow buf overlap in obfs 2020-04-13 22:48:28 +01:00
Andy Wang
97eb6aa096 Correct usages of b.SetBytes 2020-04-13 19:40:23 +01:00
Andy Wang
783d016a29 Fix a race on closing stream 2020-04-12 01:35:17 +01:00
Andy Wang
78b27c0705 Fix tests 2020-04-10 16:14:32 +01:00
Andy Wang
86214a1df0 Implement stream SetReadDeadline 2020-04-09 18:56:17 +01:00
Andy Wang
ec76ecfe71 Update tests 2020-04-08 21:47:31 +01:00
Andy Wang
3bc59ff4b6 Fix tests 2020-04-08 15:17:33 +01:00
Andy Wang
01e5d15d20 Code cleanup 2020-04-08 12:18:20 +01:00
Andy Wang
963dae829d Fix tests 2020-04-07 21:19:40 +01:00
Andy Wang
8d84ebd145 Code styles 2020-04-05 00:56:43 +01:00
Andy Wang
5e1931a11c Ineffectual assignments 2020-04-04 16:10:43 +01:00
Andy Wang
db8dd19c9d fix broken benchmarks 2020-03-15 23:55:56 +00:00
Andy Wang
6f34229aa0 Make and add stream upon reception of all new streamIDs even if they are closing 2020-01-23 20:30:31 +00:00
Andy Wang
d65aee725a Improve stream closing logic and add tests 2020-01-22 21:12:32 +00:00
Andy Wang
c26be98e79 Use sync.Map in multiplex instead of manual locks 2019-11-03 12:22:12 +00:00
Andy Wang
34a4805c34 Add tests 2019-10-16 23:00:11 +01:00
Andy Wang
339b324946 Working direct WebSocket transport 2019-09-01 20:23:45 +01:00
Andy Wang
c276f504b5 Use ENUM constants for encryption methods 2019-08-16 23:44:40 +01:00
Andy Wang
e9a3c29429 Add some tests 2019-08-16 23:39:41 +01:00
Qian Wang
cb672a99de Refactor session configuration 2019-08-12 00:22:15 +01:00
Qian Wang
572fe8486a Rename a variable and modify a test 2019-08-07 19:08:37 +01:00
Qian Wang
e244340885 Modify some tests 2019-08-07 17:06:31 +01:00