1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-01 08:16:00 -04:00
Commit Graph

817 Commits

Author SHA1 Message Date
Darien Raymond
f1f4a796cf
Set correct remote addr for h2 request. Fixes #1068. 2018-04-21 11:00:40 +02:00
Darien Raymond
148a7d064d
simplify buf.BufferedReader 2018-04-21 00:54:53 +02:00
Darien Raymond
c9e711374f
use websocket from vendor 2018-04-20 22:45:44 +02:00
Darien Raymond
d7aeb51904
merge http.Connection into net.Connection 2018-04-20 21:30:58 +02:00
Darien Raymond
a7103481d5
force http2 server to send back plain encoding. 2018-04-20 16:10:32 +02:00
Darien Raymond
3997d13b97
rename Slice and Slice from to Resize and Advance 2018-04-19 23:48:38 +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
10d7ed2e83
fix expired cert check 2018-04-18 11:45:49 +02:00
Darien Raymond
a657ec49a0
comments 2018-04-17 23:33:39 +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
Darien Raymond
d6dc88860b
simplify done api 2018-04-15 20:40:47 +02:00
Darien Raymond
9d8922f523
close http2 server immediately. fixes #1051 2018-04-14 23:07:47 +02:00
Darien Raymond
da0568d8d0
refine cert generation 2018-04-14 13:28:57 +02:00
Darien Raymond
abee8bddf3
only try issuing new certificate when user provide custom CA 2018-04-14 13:12:50 +02:00
Darien Raymond
ccafce3c9b
disable system roots for windows 2018-04-13 10:01:10 +02:00
Darien Raymond
2f74a5d048
disable domain socket for windows 2018-04-12 17:44:23 +02:00
Darien Raymond
c76d492c0f
stats counter for inbound traffic 2018-04-12 00:10:14 +02:00
Darien Raymond
044c641d7b
test case for tls certs 2018-04-10 23:02:47 +02:00
Darien Raymond
318a36fe58
automatic issuing certificates from provided CA 2018-04-10 12:42:02 +02:00
Darien Raymond
b7fc1f0bd6
scenario test for domain socket 2018-04-09 20:45:23 +02:00
Darien Raymond
38de82a5d3
don't release locker in abstract mode 2018-04-09 17:18:48 +02:00
Darien Raymond
a320196b77
refine domain socket transport 2018-04-09 17:09:24 +02:00
Xiaokang Wang
00016e0517
Add comment 2018-04-06 20:29:08 +08:00
Shelikhoo
8e1507ae3a
Prevent unuseful test failure 2018-04-05 19:27:33 +08:00
Shelikhoo
c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket 2018-04-05 19:11:33 +08:00
Shelikhoo
4e609c9758
Added Test for dial 2018-04-05 16:17:17 +08:00
Shelikhoo
d08929a687
finish up dial 2018-04-05 15:25:39 +08:00
Darien Raymond
9f198d7e3d
fix lint errors 2018-04-04 00:29:30 +02:00
DarienRaymond
8bc20c8656
Merge pull request #1013 from wuxiangzhou2010/master
add nil check  and correct some comments
2018-04-03 11:52:58 +02:00
wuxiang
3f19d09878 update some comments 2018-04-03 17:11:54 +08:00
Darien Raymond
4c2edeb18a
fix test break 2018-04-02 22:17:06 +02:00
Darien Raymond
009d58dd6c
remove static bytes array 2018-04-02 22:12:51 +02:00
Darien Raymond
81a147e540
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2018-04-02 20:01:05 +02:00
Darien Raymond
08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
wuxiangzhou2010
f0862df9a7 fix typo 2018-04-02 16:12:35 +08:00
wuxiangzhou2010
5a08411ee2 fix typo 2018-04-02 15:52:16 +08:00
Darien Raymond
50c4e3389c
remove unnecessary test 2018-04-01 09:51:44 +02:00
Darien Raymond
6d98bc4607
split uplink and downlink traffic 2018-03-31 20:30:49 +02:00
Darien Raymond
f7dd7e6279
support stats counter in ray stream 2018-03-30 23:17:28 +02:00
Shelikhoo
b67cd22b78
Test and bug fix 2018-03-29 12:35:02 +08: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
Shelikhoo
09bf78a089
notify progressTraffic to quit 2018-03-18 22:13:17 +08:00
Shelikhoo
3b1f0ae300
finish transport listener 2018-03-18 21:46:50 +08:00
Shelikhoo
8e5063dedf
(Sync Commit) 2018-03-16 12:35:12 +08: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
Jinqiu Yu
87dd1ed877 Fix receivced, InboundBound, tranport, Enpoint typo 2018-03-11 15:25:59 +08:00
Shelikhoo
43abfc9463
Unix listeners(sync commit) 2018-03-11 13:44:21 +08: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
f1231822f7
fix error handling in ray 2018-02-19 17:50:36 +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
91f32cc8c4
Auto Gen 2018-02-12 14:47:23 +08:00
Shelikhoo
7f34cbdaff
Add Generated Files 2018-02-12 14:17:14 +08:00
Shelikhoo
b9dddd0586
Added Dialer stub 2018-02-12 14:09:12 +08:00
Shelikhoo
8fe53261cc
Added function Stub 2018-02-12 14:09:12 +08:00
Shelikhoo
a6612a2baa
Regenerate Pb 2018-02-12 14:09:12 +08:00
Shelikhoo
5a7c49f3bd
Added Generated error helper 2018-02-12 14:09:12 +08:00
Shelikhoo
fdfa49dd1b
modify golang package name 2018-02-12 14:09:12 +08:00
Shelikhoo
c3cdd908b7
fix and generate protobuf 2018-02-12 14:09:12 +08:00
Shelikhoo
d845b4c3db
Created listener file 2018-02-12 14:09:12 +08:00
Shelikhoo
71c3e81a7e
Rebase: Add domainsocket receiver config 2018-02-12 14:07:16 +08: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
1e6d5561cc
prototype of commander 2018-02-05 23:38:24 +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
7fab28cf0b
fix build break 2018-01-10 17:33:15 +01:00
Darien Raymond
efc8c23207
support dial for v2ray instance 2018-01-10 17:31:52 +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