1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 09:26:21 -05:00
Commit Graph

41 Commits

Author SHA1 Message Date
Loyalsoldier
6f8979d017
Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
Loyalsoldier
f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Darien Raymond
b7c3e1da66
test case for interface 2019-02-20 22:57:13 +01:00
Darien Raymond
f66b127c0a
fix pipe test 2019-01-18 21:05:50 +01:00
Darien Raymond
8e131bcd1f
remove dependency on assert lib 2019-01-18 15:59:39 +01:00
Darien Raymond
4468c60b95
remove usage on assert lib 2019-01-06 23:30:38 +01:00
Darien Raymond
3de8389361
rename CloseError() to Interrupt() 2018-12-31 21:25:10 +01:00
Darien Raymond
50e77cbb19
fix broken test 2018-12-06 14:44:24 +01:00
Darien Raymond
120058310a
only yield goroutine after second write 2018-11-20 10:45:02 +01:00
Darien Raymond
8d8eb0f35a
update pipe test 2018-11-19 16:29:27 +01:00
Darien Raymond
0f324a613e
remove MultiBuffer.Release 2018-11-17 22:45:07 +01:00
Darien Raymond
b41513f644
benchmark pipe 2018-11-17 19:47:30 +01:00
Darien Raymond
27772a75a7
refactor MultiBuffer append 2018-11-17 09:12:20 +01:00
Darien Raymond
a01fdc29a6
remove NewMultiBufferValue 2018-11-16 11:08:12 +01:00
Darien Raymond
6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond
e8faa7d4e3
move pipe option into dedicated struct 2018-11-14 12:31:59 +01:00
Darien Raymond
956868ef78
yield goroutine on pipe write 2018-11-11 18:58:58 +01:00
Darien Raymond
b4821c5ed5
move policy and dnsClient 2018-10-11 22:34:31 +02:00
Darien Raymond
91109f3657
replace channel with pipe in udp conn 2018-09-03 00:56:43 +02:00
Darien Raymond
334b7bf5ed
fix buffer release time 2018-08-31 12:35:08 +02:00
Darien Raymond
38dd84ba03
release buffer on error 2018-08-31 12:12:40 +02:00
Darien Raymond
c81531fc77
destroy timer immedietely after use 2018-08-09 12:23:27 +02:00
Darien Raymond
206f52affc
refine buffer interface 2018-07-30 22:45:06 +02:00
Darien Raymond
b05597df3a
fix passive connection in mux. fix #1167 2018-06-27 12:21:22 +02:00
Darien Raymond
5f93eee8b0
fixes #1142 2018-06-09 04:47:37 +02:00
Darien Raymond
ac6a0f7511
update activity timer 2018-05-27 14:42:53 +02:00
Darien Raymond
67f5292f38
fix lint errors 2018-05-25 23:20:24 +02:00
Darien Raymond
65bd8509d7
fix buffer policy settings 2018-05-25 13:12:00 +02:00
Darien Raymond
b24e808a8a
fix pipe related tests 2018-05-25 12:50:33 +02:00
Darien Raymond
213f827406
policy for internal buffer size 2018-05-25 12:08:28 +02:00
Darien Raymond
0301222e22
fix default value for size = 0 2018-05-09 08:10:30 +02:00
Darien Raymond
70b2b22047
fix #1087 2018-05-08 17:40:16 +02:00
Darien Raymond
892828630e
testcase for 0 limit 2018-05-08 17:27:01 +02:00
Darien Raymond
f9c794c795
fix lint errors 2018-04-23 16:42:37 +02:00
Darien Raymond
a0dc8d19fa
don't error if pipe is already closed. 2018-04-23 16:26:29 +02:00
Darien Raymond
1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +02:00
Darien Raymond
2e6985a98b
more test cases for pipe 2018-04-18 15:40:43 +02:00
Darien Raymond
845606d86c
fix data race in pipe 2018-04-18 15:11:03 +02:00
Darien Raymond
b4ff4c7e75
signal when read 2018-04-17 00:45:38 +02:00
Darien Raymond
5d23604713
rewrite ray -> pipe 2018-04-17 00:31:10 +02:00
Darien Raymond
64ebba3cff
implement transport.pipe 2018-04-16 14:57:13 +02:00