1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 10:26:01 -05:00
Commit Graph

709 Commits

Author SHA1 Message Date
Darien Raymond
b16a82024c
normalized env variable names for bash 2017-05-26 01:11:38 +02:00
Darien Raymond
479c22c17d
lower default buffer size to 10M 2017-05-19 00:21:48 +02:00
Darien Raymond
c6a68755b6
lint 2017-05-15 20:58:27 +02:00
Darien Raymond
ad35fc7028
split read and write signal 2017-05-15 20:42:10 +02:00
Darien Raymond
642a630912
default buffer limit in ray stream to 20MB 2017-05-15 20:31:52 +02:00
Darien Raymond
5829b45bbe
close timer faster 2017-05-09 00:01:15 +02:00
Darien Raymond
9594243ee2
fix system dialer init 2017-05-02 00:28:06 +02:00
Darien Raymond
c5aa4acb35
prototype of vpndialer 2017-04-30 23:37:30 +02:00
Darien Raymond
2e756cdaa8
refactor 2017-04-27 11:54:15 +02:00
Darien Raymond
b841042d0c
refactor 2017-04-27 11:37:25 +02:00
Darien Raymond
999717ee28
release buffer on error 2017-04-27 11:29:44 +02:00
Darien Raymond
39005d8fc4
refactor 2017-04-26 10:59:18 +02:00
Darien Raymond
c9c2338f05
refactor 2017-04-25 10:48:06 +02:00
Darien Raymond
2c3ed5d9e4
snifered dispatch 2017-04-25 00:49:27 +02:00
Darien Raymond
77521029b1
support for http and tls header sniffing 2017-04-25 00:19:22 +02:00
Darien Raymond
cea6e28634
refactor 2017-04-23 13:41:52 +02:00
Darien Raymond
6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond
f01b0552a9
direct multibuf reading from kcp engine 2017-04-20 15:02:35 +02:00
Darien Raymond
114f390a69
cleanup 2017-04-20 14:37:53 +02:00
Darien Raymond
5f4acaa9ea
merging reader and writer 2017-04-20 11:00:15 +02:00
Darien Raymond
6d7aaa6535
bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond
fccf0c2edb
fix linux test 2017-04-19 11:52:17 +02:00
Darien Raymond
027270fd2c
cleanup 2017-04-19 11:20:08 +02:00
Darien Raymond
09398989b6
fix mss calculation 2017-04-18 21:31:14 +02:00
Darien Raymond
83920a091e
WriteMultiBuffer for mKCP 2017-04-18 21:23:51 +02:00
Darien Raymond
69b51bffbb
implement write multi buffer in websocket 2017-04-18 20:56:29 +02:00
Darien Raymond
c9eacc534a
fix test break 2017-04-18 13:02:42 +02:00
Darien Raymond
ad996f4db8
remove hard type convertion on tcp config 2017-04-18 12:55:09 +02:00
Darien Raymond
47b155b77f
fix test break 2017-04-18 12:51:38 +02:00
Darien Raymond
cee2fe4b6f
fix test break 2017-04-18 12:35:54 +02:00
Darien Raymond
64179350e6
fix test break 2017-04-18 12:20:46 +02:00
Darien Raymond
3cb60fac90
fix test break 2017-04-18 12:12:17 +02:00
Darien Raymond
40f890e638
fix getting sys fd 2017-04-18 12:02:43 +02:00
Darien Raymond
57a353e92f
return EOF on context done 2017-04-16 21:31:16 +02:00
Darien Raymond
2f565bfd5e
simplify ray stream 2017-04-16 09:57:28 +02:00
Darien Raymond
b1dfff2fdd
remove 8k buffer pool 2017-04-15 21:19:21 +02:00
Darien Raymond
f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond
0ef9143ffd
refactor 2017-04-14 21:38:07 +02:00
Darien Raymond
94e01672d7
update error propagation 2017-04-14 14:58:32 +02:00
Darien Raymond
f57260c358
refactor 2017-04-13 22:17:58 +02:00
Darien Raymond
68bc9ea8e4
cleanup error messages 2017-04-09 15:04:04 +02:00
Darien Raymond
7c1b3ac1f0
cleanup error messages 2017-04-09 13:30:46 +02:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
b943581e5b
gofmt 2017-04-09 00:54:07 +02:00
Darien Raymond
a034276eee
update error messages 2017-04-07 22:56:27 +02:00
Darien Raymond
ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +02:00
Darien Raymond
954587cdc9
fix build for linux 2017-04-06 23:11:26 +02:00
Darien Raymond
2668954c12
update error messages 2017-04-06 22:17:13 +02:00
Darien Raymond
75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond
fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond
2e5cb82790
update proto 2017-04-04 12:28:14 +02:00
Darien Raymond
d792faff70
fix interface 2017-04-03 01:06:49 +02:00
Darien Raymond
14824c8451
fix timeout reader usage 2017-03-27 11:14:55 +02:00
Darien Raymond
8ce6e741f1
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-03-27 11:12:36 +02:00
Darien Raymond
cb0e29ccdb
merging reader 2017-03-27 11:12:34 +02:00
Darien Raymond
bb4daedd4c
allow 0 timeout 2017-03-27 08:56:16 +02:00
Darien Raymond
d627638412
refine error message 2017-03-07 22:08:16 +01:00
Darien Raymond
514dcffe2e
Fix a potential issue causing high CPU usage 2017-03-02 11:54:40 +01:00
Darien Raymond
6a640cf32d
refactor 2017-02-27 15:16:09 +01:00
Darien Raymond
ec0986d6a9
remove useless code 2017-02-27 15:13:22 +01:00
Darien Raymond
d2897633a6
comments 2017-02-26 15:01:50 +01:00
Darien Raymond
f87b0fcde7
import updater effeciency 2017-02-26 15:01:43 +01:00
Darien Raymond
d93ff628bc
refactor tcp worker 2017-02-26 14:38:41 +01:00
Darien Raymond
3152d7fec3
remove deprecated API 2017-02-24 14:40:44 +01:00
Darien Raymond
7792237b50
adopt context in listeners 2017-02-24 01:05:16 +01:00
Darien Raymond
9cbc9b7170
refactor dialer 2017-02-23 23:48:47 +01:00
Darien Raymond
2d83e260ac
refactor authenticators 2017-02-23 22:34:02 +01:00
Darien Raymond
52ed93408b
prevent double close in tcp hub 2017-02-21 23:18:25 +01:00
Darien Raymond
e480091388
smart error propagation 2017-02-21 23:14:07 +01:00
Darien Raymond
c220f9cb3e
sync for tcp hub 2017-02-19 22:29:31 +01:00
Darien Raymond
7a97d73737
fix race condition in transport 2017-02-18 00:28:50 +01:00
Darien Raymond
ebed271a92
fix race conditions in kcp 2017-02-18 00:04:25 +01:00
Darien Raymond
949a74edfa
fix a nil reference issue in tls listener 2017-02-17 10:33:42 +01:00
Darien Raymond
38014efdee
refactor websocket 2017-02-16 17:13:20 +01:00
Darien Raymond
935620104d
refactor websocket 2017-02-16 16:53:31 +01:00
Darien Raymond
48eb40ff39
dice.RandomUint16 2017-02-14 22:29:44 +01:00
Darien Raymond
8d6a4d0a8a
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-02-14 10:13:13 +01:00
Darien Raymond
9ca520893b
comments 2017-02-14 09:26:17 +01:00
Darien Raymond
520e3ea9e6
signal.semaphore 2017-02-13 23:29:34 +01:00
Darien Raymond
90200fbecb
remove signal.Once 2017-02-13 23:12:27 +01:00
Darien Raymond
48639ddb98
fix a bug in udp hub 2017-02-13 23:03:36 +01:00
Darien Raymond
5040817a7b
apply contex in udp hub 2017-02-13 22:39:50 +01:00
Darien Raymond
237ccf505c
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-02-10 17:19:16 +01:00
Darien Raymond
5ccc915f8f
typo 2017-02-10 16:50:45 +01:00
Darien Raymond
6888093197
gofmt 2017-02-10 16:42:24 +01:00
Darien Raymond
2ba59428c9
remove lock in websocket connection 2017-02-10 16:41:54 +01:00
Darien Raymond
cfcf16feed
fix typo 2017-02-10 11:57:59 +01:00
Darien Raymond
1aeab3dd96
normalized path in websocket 2017-02-10 11:47:53 +01:00
Darien Raymond
5e7fb6d0dd
refine error handling in retry logic 2017-02-10 11:41:50 +01:00
Darien Raymond
d270a99d4f
simplify code 2017-02-09 12:31:40 +01:00
Darien Raymond
0d68293ef8
fix test break 2017-02-09 12:31:26 +01:00
Darien Raymond
cdb0b94046
cleanup websocket code 2017-02-09 11:42:17 +01:00
Darien Raymond
5ec3fe093d
fix test break 2017-02-08 19:00:13 +01:00
Darien Raymond
3be6c72211
cleanup websocket code 2017-02-08 18:30:16 +01:00
Darien Raymond
6bcce77afb
fix import 2017-02-07 23:33:40 +01:00
Darien Raymond
d72029211f
completely remove allow passive connection 2017-02-07 17:37:26 +01:00
Darien Raymond
3643dc37e0
refine kcp output 2017-02-07 00:38:46 +01:00
Darien Raymond
ce34a25e66
fix build break 2017-02-06 13:49:03 +01:00
Darien Raymond
e665de182d
dispatcher test 2017-02-04 23:40:10 +01:00
Darien Raymond
9978cf07e6
fix udp dispatcher 2017-02-04 21:55:59 +01:00
Darien Raymond
b5d14b6823
update java options 2017-02-03 23:15:10 +01:00
Darien Raymond
c4d0227977
simplify dialer and dispatcher parameters 2017-02-03 22:35:09 +01:00
Darien Raymond
f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond
9139a87865
closw conn in the same routine 2017-01-28 16:28:18 +01:00
Darien Raymond
18e1ca85aa
rename udp.Server 2017-01-27 14:45:16 +01:00
Darien Raymond
55fb18b6e1
reduce websocket buffer size 2017-01-27 13:50:38 +01:00
Darien Raymond
ea728d5112
update 2017-01-26 23:51:06 +01:00
Darien Raymond
fcd34014bb
fix java class name 2017-01-26 23:41:48 +01:00
Darien Raymond
d2764d8776
fix test break 2017-01-26 20:55:01 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
6eff0acc0b
rename transportsettings to transportconfig 2017-01-16 14:18:33 +01:00
Darien Raymond
8b00d6fc30
clean imports 2017-01-14 00:27:45 +01:00
Darien Raymond
0a91893a26
handle IPv6 address in tproxy 2017-01-13 17:10:07 +01:00
Darien Raymond
f7e1f00c88
rename dispatcher.Interface 2017-01-13 13:53:44 +01:00
Darien Raymond
289c467a12
remove unnecessary code 2017-01-13 13:47:44 +01:00
Darien Raymond
db1c9131f0
global config creator 2017-01-12 22:47:10 +01:00
Darien Raymond
d4c471c967
generate TLS certificate on the fly 2017-01-12 16:10:03 +01:00
Darien Raymond
d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00
Darien Raymond
3a8eef2dec
don't do normal close in error case 2017-01-11 15:10:30 +01:00
Darien Raymond
72992c7478
able to close ray stream with error 2017-01-10 14:22:42 +01:00
Darien Raymond
f75d94817a
fix #356 2017-01-08 16:01:28 +01:00
Darien Raymond
43cc81e5a8
better locking in udp server 2017-01-06 11:40:59 +01:00
Darien Raymond
5e7e549ec1
comments 2017-01-05 12:14:48 +01:00
Darien Raymond
a8e274f4c4
remove unused code 2017-01-05 12:09:28 +01:00
Darien Raymond
f7721029c7
fix #355 2017-01-04 17:23:41 +01:00
Darien Raymond
4afad8d31c
simpify websocket connection 2017-01-04 15:34:21 +01:00
Darien Raymond
5684beed8c
fix websocket conn reuse 2017-01-04 15:34:11 +01:00
Darien Raymond
e35e271708
cleanup internet connection 2017-01-04 13:29:41 +01:00
Darien Raymond
e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond
49210d8362
refine stream handling 2017-01-04 12:34:01 +01:00
Darien Raymond
723207158f
Merge branch 'master' of https://github.com/v2ray/v2ray-core 2017-01-04 11:10:52 +01:00
Darien Raymond
aefa53f827
refine http header 2017-01-03 23:09:51 +01:00
Darien Raymond
588c43f291
kcp header as wechat video 2017-01-03 22:46:22 +01:00
Darien Raymond
21a15bbf74
registerable dialer and listener 2017-01-03 15:16:48 +01:00
Darien Raymond
31d6e74482
remove rawtcp 2017-01-03 14:53:59 +01:00
Darien Raymond
c9a421fba6
remove generate package comments in .pb.go files. 2017-01-03 14:17:44 +01:00
Darien Raymond
20fe6d10a4
rollback gitignore change 2017-01-02 20:52:45 +01:00
Darien Raymond
52e1dfaeac
remove all generated files 2017-01-02 08:15:31 +01:00
Darien Raymond
19e0cb40e9
locker protected connection 2017-01-02 07:43:02 +01:00
Darien Raymond
48bddb25d7
fix lint warnings 2017-01-01 22:12:44 +01:00
Darien Raymond
58ae7e4967
refine proto settings 2017-01-01 21:19:12 +01:00
Darien Raymond
2a52ae9e96
default next protos 2016-12-31 23:22:26 +01:00
Darien Raymond
3cc0783d9c
fix test break 2016-12-30 23:30:35 +01:00
Darien Raymond
a44d556667
test case for tls connection 2016-12-30 23:12:00 +01:00
Darien Raymond
f6aa7a0053
fix usage of ray stream. 2016-12-30 00:51:39 +01:00
Darien Raymond
609dbc1f13
task engine for all proxies 2016-12-30 00:32:20 +01:00
Darien Raymond
f7379bc1c3
skip empty payload in ray 2016-12-27 00:44:11 +01:00
Darien Raymond
38e4cad8d1
remove unused variable 2016-12-26 16:49:36 +01:00
Darien Raymond
29d62185cf
notify read and write on remote close 2016-12-26 08:22:25 +01:00
Darien Raymond
620561bcaf
remove recover on stream write 2016-12-25 00:42:03 +01:00