1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

363 Commits

Author SHA1 Message Date
v2ray
338dc1ebb6
remove unused deps 2016-08-15 21:51:51 +02:00
v2ray
c7871a3ab2
test case for socket opt 2016-08-15 21:33:32 +02:00
v2ray
2a778762b1
rename udp.go to hub.go 2016-08-15 21:33:21 +02:00
Darien Raymond
667b71aad0 Merge pull request #238 from xiaokangwang/websocket
Websocket transport support for v2ray
2016-08-15 17:45:25 +02:00
v2ray
210a32dc12
support udp redirection 2016-08-15 17:44:46 +02:00
Shelikhoo
22519353c3
Check Read 2016-08-15 21:55:43 +08:00
Shelikhoo
32e8deb6e8
Simplify Design 2016-08-15 21:36:37 +08:00
Shelikhoo
45d801b922
WsTest:more case 2016-08-15 21:29:15 +08:00
Shelikhoo
6c8b4f5db3
Fix 2016-08-15 21:21:09 +08:00
Shelikhoo
d7440bb1d6
Test:listen tls 2016-08-15 21:19:53 +08:00
Shelikhoo
856f2a2dd3
Fix assert fail 2016-08-15 21:19:15 +08:00
Shelikhoo
f7ce9d3be6
Add Developer Insecure Skip Verify for testing 2016-08-15 20:42:38 +08:00
Shelikhoo
02e3c17c97
test:listen 2016-08-15 20:20:47 +08:00
Shelikhoo
40ec84e222
Dial test 2016-08-15 20:15:12 +08:00
Shelikhoo
2209294dfc
Set reuse limit 2016-08-15 20:14:45 +08:00
Shelikhoo
0a49628555
Bettering ping method 2016-08-15 19:13:18 +08:00
Shelikhoo
e382eaa59f
typo 2016-08-15 18:59:50 +08:00
Shelikhoo
4c093a2107
Apply coding style 2016-08-15 18:59:14 +08:00
Shelikhoo
a5ae6a0f4e
Remove workaround 2016-08-15 18:57:39 +08:00
Shelikhoo
bfb4e0d9b0
Apply coding style 2016-08-15 18:56:33 +08:00
Shelikhoo
273c8f6c57
Support Stop listener 2016-08-15 18:47:44 +08:00
Shelikhoo
062d05fdcf
Added Stoppable listener for TLS listener 2016-08-15 18:43:17 +08:00
Shelikhoo
c8cd1320c7
Use stopable listener for HTTP 2016-08-15 18:17:29 +08:00
Shelikhoo
a36582b294
Added stopable listener 2016-08-15 18:16:54 +08:00
Shelikhoo
863237b518
Justify lock use 2016-08-15 17:53:11 +08:00
Shelikhoo
4853a1a6d3
Increase ping time 2016-08-15 17:48:30 +08:00
Shelikhoo
de28198234
Guess protocol 2016-08-15 17:47:15 +08:00
Shelikhoo
7b3cf631c2
Removed inaccessable doc 2016-08-15 17:40:56 +08:00
Shelikhoo
ee22082fb4
Fix host bug 2016-08-15 14:30:38 +08:00
Shelikhoo
00aeb29e46
typo 2016-08-15 12:31:55 +08:00
Shelikhoo
2bf9edfe7d
Prevent unnesessary log 2016-08-15 12:23:15 +08:00
Shelikhoo
d250013c99
Increase conn keep-alive time 2016-08-15 11:07:29 +08:00
Shelikhoo
d06c75f926
Doc sync to code change 2016-08-15 10:25:20 +08:00
Shelikhoo
7259b3363b
Merge branch 'master' into websockwt 2016-08-15 10:17:22 +08:00
v2ray
4419f1e3d6
introduce address family in v2net 2016-08-14 18:14:12 +02:00
v2ray
a9d583b92f
connection session 2016-08-14 17:08:01 +02:00
Shelikhoo
fed2933043
fix crash 2016-08-14 20:41:26 +08:00
Shelikhoo
5e576e11bb
fix crash 2016-08-14 20:40:59 +08:00
Shelikhoo
49441a5050
Docs 2016-08-14 14:11:51 +08:00
Shelikhoo
a0fda39274
Fix crash 2016-08-14 11:06:39 +08:00
Shelikhoo
3e9e9b520e
Remove useless test 2016-08-14 09:23:24 +08:00
Shelikhoo
1fe090dbfd
Verfiy Domain correctly 2016-08-13 22:50:24 +08:00
Shelikhoo
427bed5ddb
typo~ 2016-08-13 22:07:47 +08:00
Shelikhoo
16b529093d
Support Listen WebSocket with TLS 2016-08-13 21:56:51 +08:00
Shelikhoo
fecf9cc5b8
Added WebSocket transport 2016-08-13 21:44:36 +08:00
Shelikhoo
7ef66c57dc
Support Listen WebSocket Connection 2016-08-13 21:43:46 +08:00
Shelikhoo
29f69d63c4
Support Dial WebSocket Connection 2016-08-13 21:42:56 +08:00
Shelikhoo
20f16309e6
Load Websocket Streamtype from json 2016-08-13 21:42:18 +08:00
Shelikhoo
0d60d2449a
Add Websocket Stream type 2016-08-13 21:41:13 +08:00
Shelikhoo
2eced2bd6c
Load Configure from json 2016-08-13 21:39:34 +08:00
Shelikhoo
8c4a6d94f9
WS Conf structure 2016-08-13 21:37:17 +08:00
v2ray
bcd27ba36f
option to allow passive connection 2016-08-12 23:37:21 +02:00
v2ray
f03c86f468
global session cache 2016-08-11 23:21:23 +02:00
v2ray
b01a972076
test for all authenticators 2016-08-08 22:47:59 +02:00
v2ray
b38137bd13
utp header 2016-08-08 21:23:07 +02:00
v2ray
86490e884c
return pointer of config 2016-08-07 19:07:59 +02:00
v2ray
75b8dd9521
error message refactoring 2016-08-07 15:31:24 +02:00
v2ray
81855469aa
rename SRTP 2016-08-07 15:05:05 +02:00
v2ray
4a7400ef2a
test case for srtp 2016-08-07 09:08:30 +02:00
v2ray
2f0d602833
nil pointer protection 2016-08-07 08:45:03 +02:00
v2ray
0caf2e6d30
compact kcp stream 2016-08-07 01:01:44 +02:00
v2ray
6678da2fe2
more no-op authenticator into a separate folder 2016-08-07 00:38:23 +02:00
v2ray
8d6a9167b5
add no-op authenticator 2016-08-06 23:15:06 +02:00
v2ray
c7d6302292
load srtp in main 2016-08-06 22:52:02 +02:00
v2ray
6ffc24f895
update roundtripinfo 2016-08-06 21:59:47 +02:00
v2ray
0d73726930
srtp header for kcp 2016-08-06 21:59:22 +02:00
v2ray
a15e33f720
rename RoundTripInfo 2016-08-05 21:03:44 +02:00
v2ray
00841583d2
reduce ack packet size and send peer RTO 2016-08-05 20:59:33 +02:00
v2ray
7f277c9bcc
prevent goroutine leak 2016-07-29 12:13:20 +02:00
v2ray
6fa84624cb
simplify logic 2016-07-29 12:13:09 +02:00
v2ray
53cdcfdc2b
remove unnecessary goroutine 2016-07-29 11:50:02 +02:00
v2ray
b8421f659f
terminate connection 2016-07-29 11:49:53 +02:00
v2ray
7385c05f29
more test case for buffer 2016-07-28 16:29:38 +02:00
v2ray
42efa5dde0
refine buffer usage in kcp 2016-07-28 16:24:15 +02:00
v2ray
6fe7463bf4
simplify state checking 2016-07-26 21:34:00 +02:00
v2ray
347ae8fd75
simplify interface 2016-07-26 17:25:13 +02:00
v2ray
ca0ae50e62
refine system dialer substitution 2016-07-26 17:11:58 +02:00
Shelikhoo
d1b44619b0
Solve #218: Supporting substitute of the default Dialer, this is a prerequisite of Libv2ray's support of Android VPNService mode; It is not recommanded to modify exported func introduced by this commit. 2016-07-26 16:33:12 +08:00
v2ray
85d6e1ad13
prepend hash 2016-07-17 23:11:05 +02:00
v2ray
1931820c4c
leverage local buffer 2016-07-17 12:59:57 +02:00
v2ray
a39132f4c2
update log 2016-07-16 22:14:20 +02:00
v2ray
bf2d45a83d
use local buffer when fetching input 2016-07-16 22:08:59 +02:00
v2ray
066e5e216d
fill windows after processing acks 2016-07-15 23:23:21 +02:00
v2ray
72ee6436eb
more accurate of rtt calculation 2016-07-15 23:18:18 +02:00
v2ray
d5cd919cec
remove duplicated code 2016-07-15 21:41:15 +02:00
v2ray
f6d4e599bd
configurable read and write buffer size 2016-07-15 21:27:23 +02:00
v2ray
631db6e69a
rename 2016-07-14 22:52:00 +02:00
v2ray
ef2d49302d
rename command 2016-07-14 22:10:37 +02:00
v2ray
ffdce592ec
remove sync.Pool from segment allocation 2016-07-14 21:42:00 +02:00
v2ray
906d846c2e
update test case 2016-07-14 21:31:54 +02:00
v2ray
c32f1a0152
update test case 2016-07-14 21:31:04 +02:00
v2ray
991b2703dc
improve writing performance 2016-07-14 17:39:12 +02:00
v2ray
0acd3b6d62
improve sending performance 2016-07-14 17:38:20 +02:00
v2ray
476b3c68d2
introduce a new state: peer terminating 2016-07-14 12:57:14 +02:00
v2ray
05ed05b9a0
correctly release segments 2016-07-13 23:15:40 +02:00
v2ray
73afe9a001
use alloc.Buffer in sending queue 2016-07-13 21:47:40 +02:00
v2ray
c7b0264f9a
lock in udp hub 2016-07-13 21:39:18 +02:00
v2ray
d602025908
update test performance 2016-07-13 09:19:51 +02:00
v2ray
c0a1198514
improve terminating performance 2016-07-12 23:54:54 +02:00
v2ray
9a44ff3145
static conv 2016-07-12 18:54:16 +02:00