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

637 Commits

Author SHA1 Message Date
Darien Raymond
13ed4b8429
update http header test 2017-12-03 23:41:01 +01:00
Darien Raymond
7709ee9b7f
more interface test 2017-12-03 23:11:29 +01:00
Darien Raymond
b3e6994e52
implement WriteMultiBuffer 2017-12-03 22:53:00 +01:00
Darien Raymond
be714f76f1
cleanup 2017-12-03 21:45:58 +01:00
Darien Raymond
bf7b8798a9
simplify kcp interface 2017-12-03 21:29:27 +01:00
Darien Raymond
e8e7921613
fix lint warnings 2017-12-03 16:40:10 +01:00
Darien Raymond
443fd7c9a5
2k buffer should be enough 2017-12-03 16:39:51 +01:00
Darien Raymond
85a93e9602
cleanup kcp 2017-12-03 14:56:00 +01:00
Darien Raymond
d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond
9ff0dc7327
remove struct scoped context 2017-12-01 10:36:08 +01:00
Darien Raymond
2371617a22
fix lint warnings 2017-11-23 23:46:46 +01:00
IbarakiKasen
c0564cd747 Fix typo, fix #715 2017-11-19 13:46:31 +08:00
Darien Raymond
51ddc00c70
reduce buffer size in websocket 2017-11-16 18:11:02 +01:00
Darien Raymond
0dbfb66126
clean up dns package 2017-11-15 00:36:14 +01:00
Darien Raymond
594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond
66b82e4ab7
cleanup MultiBuffer 2017-11-09 00:55:28 +01:00
Darien Raymond
d5fd7efa7e
fast read on first packet 2017-11-08 22:23:21 +01:00
Darien Raymond
ac5ab67862 refactor 2017-10-28 21:28:50 +02:00
Darien Raymond
6c9a60100d format code 2017-10-26 21:44:22 +02:00
Darien Raymond
12a0d6e0b9 cleanup 2017-10-26 21:07:33 +02:00
DarienRaymond
1a8ed61b9b Merge pull request #651 from v2ray/udpfollow
Added UDP TPROXY Transmit Support
2017-10-26 20:59:04 +02:00
Darien Raymond
af88016320 fix #643 2017-10-26 11:43:02 +02:00
Darien Raymond
36ce56c524 refactor 2017-10-24 20:25:45 +02:00
Darien Raymond
3f54bf3f53 remove unused definitions 2017-10-24 20:23:55 +02:00
Darien Raymond
e4fd29db70 fix test break 2017-10-24 17:36:42 +02:00
Darien Raymond
74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
Darien Raymond
9f7fbd9a04 fix websocket test 2017-10-22 16:04:39 +02:00
Darien Raymond
6dd23b45b0 fix lint warnings for websocket 2017-10-21 09:45:27 +02:00
Darien Raymond
2a04819582 fix data race in kcp connection 2017-10-20 23:30:14 +02:00
Darien Raymond
60f3562ac1 simplify websocket dialer and hub 2017-10-20 22:45:14 +02:00
Darien Raymond
669a0cafaf support header override in websocket 2017-10-13 23:54:04 +08:00
Darien Raymond
b862365832 include detailed error 2017-09-29 18:10:17 +02:00
Darien Raymond
8971e699d9 common.Must2 2017-09-19 23:27:49 +02:00
Shelikhoo
8e846fe6f8
Added UDP TPROXY Transmit Support 2017-09-07 06:55:15 +08:00
Darien Raymond
fbbed156db fix lint warnings 2017-08-29 14:50:53 +02:00
Darien Raymond
52ad41cda3 completely move away from net package 2017-08-29 14:32:54 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond
a6403ea823 remove unnecessary files 2017-08-26 09:06:45 +02:00
Darien Raymond
e6ebbc245c fix test break 2017-08-25 23:46:07 +02:00
Darien Raymond
5ef1a201f5 fix test break 2017-08-25 23:17:18 +02:00
Darien Raymond
2b9d9e1ae3 remove use of sysFd 2017-08-25 23:02:54 +02:00
Darien Raymond
896bff2195 update fd logic for golang 1.9 2017-08-25 21:42:07 +02:00
Darien Raymond
4059a965ff fix asm compiler warning 2017-08-22 14:21:16 +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
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
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
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
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
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
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