Commit Graph

888 Commits (6a06908456703e4a707e4251a1293ca572bb3127)

Author SHA1 Message Date
Darien Raymond 6a06908456
optimize encryption read/write operations 2018-07-31 12:37:59 +02:00
Darien Raymond 8cfe77383f
writeHash 2018-07-30 22:54:24 +02:00
Darien Raymond 206f52affc
refine buffer interface 2018-07-30 22:45:06 +02:00
Darien Raymond d615adab36
optimize padding reading 2018-07-30 20:08:50 +02:00
Darien Raymond 47f1399995
check errors 2018-07-29 13:19:03 +02:00
Darien Raymond ebea255c74
eliminate partial writes 2018-07-28 15:03:40 +02:00
Darien Raymond 7a4b0fff07
ensure everything are written 2018-07-27 23:44:22 +02:00
Darien Raymond c15184d904
optimize readv on windows 2018-07-27 23:40:12 +02:00
Darien Raymond f99fb3d87d
reduce readv alloc count 2018-07-27 23:35:50 +02:00
Darien Raymond 28ccd4ddd5
write all content 2018-07-27 23:35:02 +02:00
Darien Raymond 8d689fb92d
fix reader test 2018-07-27 23:34:49 +02:00
Darien Raymond 720aca16d5
remove buffer pool of 512k 2018-07-27 17:24:26 +02:00
Darien Raymond e8959dff86
fix http sniffer 2018-07-25 23:34:52 +02:00
Darien Raymond 20a08111ff
fix windows build 2018-07-25 11:51:42 +02:00
Darien Raymond b1e07d2f6e
fix comments 2018-07-25 11:46:21 +02:00
Darien Raymond 232e715b8b
don't build readv for windows 2018-07-25 11:19:16 +02:00
Darien Raymond 4b63638dca
update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond ecb460b16a
better memory management 2018-07-24 22:17:30 +02:00
Darien Raymond 82ee23e6d0
make readv optional 2018-07-24 21:58:47 +02:00
Darien Raymond a941ef5392
try readv 2018-07-24 21:48:28 +02:00
Darien Raymond e3cc12995f
fix some lint errors 2018-07-19 13:31:57 +02:00
Darien Raymond 9a8488074e
env flag controlled global padding 2018-07-18 10:40:28 +02:00
Darien Raymond c52310cf54
optimize bounds check in bytes conversion 2018-07-17 15:19:22 +02:00
Darien Raymond 8912e4eb90
move sniffer to their own directory 2018-07-16 12:56:50 +02:00
Darien Raymond eafe580be4
accelerate one task execution 2018-07-15 16:04:02 +02:00
Darien Raymond 5e25741742
update tests 2018-07-13 14:36:09 +02:00
Darien Raymond 29ad2cbbdb
function to compare byte array 2018-07-12 23:38:10 +02:00
Darien Raymond 7efa7ee632
prepare to remove constructor of AuthenticationReader 2018-07-09 22:27:24 +02:00
Darien Raymond 81c9743ce0
fix auth test 2018-07-09 12:40:13 +02:00
Darien Raymond 8a879deac1
max padding len as variable 2018-07-08 21:46:13 +02:00
Darien Raymond 69774c99dc
fix padding value 2018-07-07 23:48:37 +02:00
Darien Raymond f54a8735ab
global padding in vmess protocol 2018-07-07 15:42:24 +02:00
Darien Raymond 0d94d25688
prototype of mtproto proxy 2018-07-04 17:48:48 +02:00
Darien Raymond e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182. 2018-07-03 21:38:02 +02:00
Darien Raymond 07e2592117
fix #1181 2018-07-03 16:56:57 +02:00
Darien Raymond b23b218a7e
map based subscriber list 2018-07-01 19:30:05 +02:00
Darien Raymond 4368edf87c
switch to pubsub in dns service 2018-07-01 12:38:40 +02:00
Darien Raymond 596d05bff5
check closed again before scheduling another task 2018-06-29 20:56:10 +02:00
Darien Raymond b05597df3a
fix passive connection in mux. fix #1167 2018-06-27 12:21:22 +02:00
Darien Raymond cb0eb91f2b
strmatcher 2018-06-26 21:57:41 +02:00
Darien Raymond ff0ae91b9b
update protobuf generated files 2018-06-26 16:28:54 +02:00
Darien Raymond e5f6554703
fix notifier for backward compatibility 2018-06-26 15:28:59 +02:00
Darien Raymond 2fb77d6911
consume context in local nameserver. 2018-06-26 15:16:45 +02:00
Darien Raymond 9cfb2bfd51
simplify classic dns server 2018-06-26 15:04:47 +02:00
Darien Raymond 9977eadf8c
remove dependency from errors to session 2018-06-25 01:09:02 +02:00
Darien Raymond ef4542e778
fix race condition in ActivityTimer 2018-06-22 11:19:33 +02:00
Darien Raymond 3b765a7b35
remove unused code 2018-06-09 04:29:48 +02:00
Darien Raymond 3620ebfc11
optimize for small number of tasks 2018-06-07 06:38:45 +02:00
Darien Raymond b01180b913
fix lint warnings 2018-06-04 14:29:43 +02:00
Darien Raymond 54e2244c5a
fix #1131 2018-06-04 14:29:05 +02:00