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 |
|
Darien Raymond
|
f1a9647c8a
|
lint warnings
|
2016-12-25 00:01:24 +01:00 |
|
Darien Raymond
|
4e224d64c6
|
Fix #337
|
2016-12-24 22:04:09 +01:00 |
|
Darien Raymond
|
a4dfca0ef7
|
accommodate protobuf compiler change
|
2016-12-23 12:42:25 +01:00 |
|
Darien Raymond
|
7dc7937443
|
rename ws to websocket
|
2016-12-23 00:30:46 +01:00 |
|
Darien Raymond
|
eb782436b3
|
proto option for C# namespace
|
2016-12-23 00:24:28 +01:00 |
|
Darien Raymond
|
06c92e492d
|
fix ray stream
|
2016-12-22 17:28:06 +01:00 |
|
Darien Raymond
|
c3942fd5f0
|
fix lint warnings
|
2016-12-21 15:48:39 +01:00 |
|
Darien Raymond
|
ceaf5d1178
|
fix lint warnings
|
2016-12-21 15:37:16 +01:00 |
|
Darien Raymond
|
cdcccb4590
|
simplify segment writer
|
2016-12-20 22:53:58 +01:00 |
|
Darien Raymond
|
bccf11c12c
|
fix tls over kcp
|
2016-12-20 13:03:20 +01:00 |
|
Darien Raymond
|
0f0f01ddf6
|
return error when header too long
|
2016-12-19 12:16:57 +01:00 |
|
Darien Raymond
|
68164d46f9
|
limit max http header length
|
2016-12-16 17:01:47 +01:00 |
|
Darien Raymond
|
b17f06bb4e
|
test case for http header
|
2016-12-16 16:52:11 +01:00 |
|
Darien Raymond
|
50bc195f7f
|
rename TypedSettings to TypedMessage
|
2016-12-15 11:51:09 +01:00 |
|
Darien Raymond
|
d6a6e0aaf8
|
send back http response on error
|
2016-12-14 12:25:22 +01:00 |
|
Darien Raymond
|
42417cab17
|
fix compile warning
|
2016-12-12 21:58:13 +01:00 |
|
Darien Raymond
|
a67d525fc2
|
try fix connection reuse settings
|
2016-12-12 13:08:31 +01:00 |
|
Darien Raymond
|
a11d2ce9d6
|
support server name override
|
2016-12-11 23:58:37 +01:00 |
|
Darien Raymond
|
eee23e6718
|
fix api usage
|
2016-12-11 21:43:16 +01:00 |
|
Darien Raymond
|
1948d0738f
|
refactor io package
|
2016-12-09 13:17:34 +01:00 |
|
Darien Raymond
|
055023fdd5
|
refactor buffer
|
2016-12-09 12:08:25 +01:00 |
|
Darien Raymond
|
7a80409e30
|
rename alloc to buf
|
2016-12-09 11:35:27 +01:00 |
|
Darien Raymond
|
a3cb770f77
|
clean up errors
|
2016-12-09 00:11:05 +01:00 |
|
Darien Raymond
|
41fcffbfab
|
fix data input and output signal
|
2016-12-08 22:50:12 +01:00 |
|
Darien Raymond
|
40249dfacb
|
change API
|
2016-12-08 22:49:24 +01:00 |
|
Darien Raymond
|
30d886fd6f
|
refresh protobuf
|
2016-12-08 20:59:58 +01:00 |
|
Darien Raymond
|
41258f19fc
|
comments
|
2016-12-08 16:37:04 +01:00 |
|
Darien Raymond
|
1431e32d01
|
comments
|
2016-12-08 16:32:53 +01:00 |
|
Darien Raymond
|
0917866f38
|
refine kcp header and security
|
2016-12-08 16:27:41 +01:00 |
|
Darien Raymond
|
d716d02cd8
|
correctly handle sending window length
|
2016-12-07 00:31:01 +01:00 |
|
Darien Raymond
|
8c8f0a53fd
|
rewrite alloc.buffer
|
2016-12-06 11:03:42 +01:00 |
|
Darien Raymond
|
4bf8288cc2
|
remove use of Buffer.Value
|
2016-12-05 21:33:24 +01:00 |
|
Darien Raymond
|
e46bad3f18
|
format errors
|
2016-12-04 09:43:33 +01:00 |
|
Darien Raymond
|
efb24a4d21
|
rewrite error lib
|
2016-12-04 09:10:47 +01:00 |
|
Darien Raymond
|
a4019a6900
|
fast return on zero ack list
|
2016-12-02 21:40:58 +01:00 |
|
Darien Raymond
|
207c7aa8a7
|
flush acklist when dirty
|
2016-12-02 16:49:33 +01:00 |
|
Darien Raymond
|
60697e4e4f
|
fix test break
|
2016-12-02 15:10:48 +01:00 |
|
Darien Raymond
|
2cf44393fb
|
increase ray buffer size
|
2016-12-02 14:22:46 +01:00 |
|
Darien Raymond
|
1186b0e733
|
fix label name
|
2016-12-02 00:09:57 +01:00 |
|
Darien Raymond
|
a53808c83b
|
fix link
|
2016-12-01 22:22:28 +01:00 |
|
Darien Raymond
|
fa0011c4c9
|
fix build break
|
2016-12-01 22:22:20 +01:00 |
|
Darien Raymond
|
eb877fa808
|
remove unnecessary import
|
2016-11-30 22:24:59 +01:00 |
|
Darien Raymond
|
3ffef74d75
|
allocate in advance
|
2016-11-30 22:24:06 +01:00 |
|
Darien Raymond
|
8b07c39281
|
update default kcp bandwidth settings
|
2016-11-30 21:36:40 +01:00 |
|
Darien Raymond
|
31fbb62d0f
|
add back flush timeout
|
2016-11-29 17:12:09 +01:00 |
|
Darien Raymond
|
3be9519ed4
|
send more ack seg
|
2016-11-29 08:31:19 +01:00 |
|
Darien Raymond
|
2dc74faf19
|
send more ack numbers if not full
|
2016-11-28 22:06:32 +01:00 |
|
Darien Raymond
|
5ffabe1148
|
reduce time spent on kcp test
|
2016-11-28 22:05:57 +01:00 |
|
Darien Raymond
|
f95c322677
|
rename 'this'
|
2016-11-27 21:39:09 +01:00 |
|
Darien Raymond
|
d00f8eef56
|
remove use of 'v' as a variable name
|
2016-11-27 17:01:44 +01:00 |
|
Darien Raymond
|
b1f78a1ffc
|
enable conn reuse settings in mkcp
|
2016-11-27 09:02:27 +01:00 |
|
Darien Raymond
|
d19ee4d408
|
connection reuse for mkcp
|
2016-11-27 08:58:31 +01:00 |
|
Darien Raymond
|
b2e084c78c
|
recycler interface
|
2016-11-27 08:47:24 +01:00 |
|
Darien Raymond
|
22379e5a6b
|
refactor connection pool
|
2016-11-24 23:16:05 +01:00 |
|
Darien Raymond
|
e8cde53975
|
fix tcp log
|
2016-11-22 08:23:03 +01:00 |
|
Darien Raymond
|
e0116d3957
|
fix http read
|
2016-11-22 00:52:26 +01:00 |
|
Darien Raymond
|
15cb543abb
|
release memory in kcp connection
|
2016-11-21 22:41:12 +01:00 |
|
Darien Raymond
|
70c75038a2
|
small buffer
|
2016-11-21 22:08:34 +01:00 |
|
Darien Raymond
|
30cd9e929d
|
add exponential backoff as retry logic
|
2016-11-20 21:47:51 +01:00 |
|
Darien Raymond
|
d6086e0e9b
|
remove buggy test case
|
2016-11-19 22:54:42 +01:00 |
|
Darien Raymond
|
f64c79e239
|
log
|
2016-11-19 22:40:06 +01:00 |
|
Darien Raymond
|
2078f29142
|
refine error message
|
2016-11-19 14:38:13 +01:00 |
|
Darien Raymond
|
ac2f62b239
|
reduce memory footprint in kcp
|
2016-11-19 01:49:54 +01:00 |
|
Darien Raymond
|
ed780951aa
|
save some goroutines
|
2016-11-19 01:48:38 +01:00 |
|
Darien Raymond
|
292176c57f
|
simplify udp payload queue
|
2016-11-19 00:34:30 +01:00 |
|
Darien Raymond
|
1a1383c2ea
|
simplify random
|
2016-11-18 21:34:42 +01:00 |
|
Darien Raymond
|
a14795e1e6
|
optimize udp hub
|
2016-11-18 21:30:03 +01:00 |
|
Darien Raymond
|
4ee758c4d2
|
simplify kcp logic
|
2016-11-18 16:19:13 +01:00 |
|
Darien Raymond
|
ad3f450bce
|
fix usage of io.EOF
|
2016-11-17 23:21:44 +01:00 |
|
Darien Raymond
|
e72f8a26c8
|
min timeout
|
2016-11-13 22:29:31 +01:00 |
|
Darien Raymond
|
0cd9f5165f
|
update kcp sending worker
|
2016-11-13 22:27:58 +01:00 |
|
Darien Raymond
|
9471b5b066
|
refine dispatcher
|
2016-11-13 14:33:00 +01:00 |
|
Darien Raymond
|
5dc05d6352
|
allow outbound to be proxied
|
2016-11-10 23:41:28 +01:00 |
|
Darien Raymond
|
d343cb1ee6
|
proxy connection
|
2016-11-09 00:17:09 +01:00 |
|
Darien Raymond
|
7a09fcdc2f
|
increase kcp ack frequency
|
2016-11-08 00:35:14 +01:00 |
|
Darien Raymond
|
b0d009664a
|
Fix HTTP serialization
|
2016-11-07 10:47:30 +01:00 |
|
Darien Raymond
|
dc0cbce6e1
|
optimize pickString
|
2016-11-06 14:04:44 +01:00 |
|
Darien Raymond
|
66e8090d3a
|
update http header
|
2016-11-06 13:38:32 +01:00 |
|
Darien Raymond
|
f108633e2e
|
ssr compatibility
|
2016-11-05 01:50:51 +01:00 |
|
Darien Raymond
|
13dde1799d
|
comments
|
2016-11-05 01:01:46 +01:00 |
|
Darien Raymond
|
bae0de7d95
|
test case for http auth
|
2016-11-04 21:59:19 +01:00 |
|
Darien Raymond
|
010f34c76c
|
allow single side auth
|
2016-11-03 23:14:27 +01:00 |
|
Darien Raymond
|
0747203132
|
refine http header
|
2016-11-02 22:26:21 +01:00 |
|
Darien Raymond
|
aabb9137e1
|
remove unused code
|
2016-11-01 12:34:07 +01:00 |
|
Darien Raymond
|
33d2513e3c
|
reduce memory allocation in kcp
|
2016-11-01 12:07:20 +01:00 |
|
Darien Raymond
|
5b58066345
|
use local buffer in UDP hub
|
2016-11-01 11:46:34 +01:00 |
|
Darien Raymond
|
d3f323e24b
|
response factory
|
2016-11-01 00:42:55 +01:00 |
|
Darien Raymond
|
187688cacb
|
fix type def
|
2016-11-01 00:42:44 +01:00 |
|
Darien Raymond
|
72339a3509
|
fix TCP conn reuse with tls
|
2016-11-01 00:41:46 +01:00 |
|
Darien Raymond
|
ac3b91a877
|
http authenticator
|
2016-10-31 22:26:46 +01:00 |
|
Darien Raymond
|
97dc7b30de
|
remove test cases depending on external resources
|
2016-10-24 16:48:16 +02:00 |
|
Darien Raymond
|
e13c97d162
|
rename IP to CIDR in router
|
2016-10-18 16:42:22 +02:00 |
|
Darien Raymond
|
2320bc3304
|
remove unused code
|
2016-10-18 15:31:48 +02:00 |
|
Darien Raymond
|
751a105324
|
comments
|
2016-10-18 15:31:39 +02:00 |
|
Darien Raymond
|
b81d091fb8
|
comments
|
2016-10-18 00:09:49 +02:00 |
|
Darien Raymond
|
9bd8822668
|
unused proto
|
2016-10-18 00:09:41 +02:00 |
|
Darien Raymond
|
5a311cbe08
|
json config parser
|
2016-10-17 14:35:13 +02:00 |
|
Darien Raymond
|
e33b7df34c
|
remove use of any
|
2016-10-16 14:22:21 +02:00 |
|
Darien Raymond
|
be026870f7
|
protogen update
|
2016-10-16 00:23:27 +02:00 |
|
Darien Raymond
|
f488a63d97
|
check nil config
|
2016-10-14 21:19:26 +02:00 |
|
Darien Raymond
|
d26ee5441e
|
fix authenticator config
|
2016-10-12 22:43:17 +02:00 |
|
Darien Raymond
|
ab3173039b
|
increase ping interval
|
2016-10-11 21:21:06 +02:00 |
|
Darien Raymond
|
b5910dccae
|
simplify fast resend
|
2016-10-11 13:17:57 +02:00 |
|
Darien Raymond
|
f8ad1f4a3e
|
update predicate syntax
|
2016-10-11 12:44:17 +02:00 |
|
Darien Raymond
|
da9f1a8013
|
predicate.Not
|
2016-10-11 12:30:53 +02:00 |
|
Darien Raymond
|
f3a83c57ab
|
optimize ping and updater logic
|
2016-10-11 12:24:19 +02:00 |
|
Darien Raymond
|
78f87c4f60
|
test case for cmd only segment
|
2016-10-11 11:44:30 +02:00 |
|
Darien Raymond
|
e023859ef0
|
stop data updating thread when there is no data
|
2016-10-10 16:50:54 +02:00 |
|
Darien Raymond
|
67793eb3e0
|
fix config creator cache
|
2016-10-03 12:25:36 +02:00 |
|
Darien Raymond
|
1d13f47f9c
|
protobuf for stream settings
|
2016-10-02 23:43:58 +02:00 |
|
Darien Raymond
|
5ec948f690
|
integrate tls settings in ws
|
2016-09-30 16:53:40 +02:00 |
|
Darien Raymond
|
af6abfa3e3
|
update proto generated code
|
2016-09-26 15:14:39 +02:00 |
|
Darien Raymond
|
91f2a40dae
|
refine proto package names
|
2016-09-26 15:14:16 +02:00 |
|
Darien Raymond
|
dc6b7e2e75
|
protobuf for blackhole config
|
2016-09-22 12:01:36 +02:00 |
|
Darien Raymond
|
b28d718b79
|
optional field in kcp config
|
2016-09-21 21:08:05 +02:00 |
|
Darien Raymond
|
1a3f51ade7
|
protobuf for kcp config
|
2016-09-21 14:39:07 +02:00 |
|
Darien Raymond
|
8f6a972970
|
refactor config cache
|
2016-09-21 13:52:16 +02:00 |
|
Darien Raymond
|
7de7588ec2
|
proto for destination
|
2016-09-20 11:53:05 +02:00 |
|
Darien Raymond
|
c518726910
|
network proto
|
2016-09-20 10:44:44 +02:00 |
|
Darien Raymond
|
fbdb1e09d7
|
remove incorrect check on config name
|
2016-09-19 23:54:48 +02:00 |
|
Darien Raymond
|
9ade07db03
|
remove IsTCP() and IsUDP()
|
2016-09-19 16:39:11 +02:00 |
|
Darien Raymond
|
5f5d28009f
|
fix typo in utp def
|
2016-09-19 14:41:54 +02:00 |
|
Darien Raymond
|
04d956462c
|
fix test without -json tag
|
2016-08-25 13:25:59 +02:00 |
|
Darien Raymond
|
3fd66ad795
|
remove PingNecessary()
|
2016-08-25 12:00:31 +02:00 |
|
Darien Raymond
|
e49fb2f50d
|
no compacting buffers
|
2016-08-25 11:41:05 +02:00 |
|
Darien Raymond
|
fcad4aa212
|
adjust receiving buffer size
|
2016-08-25 09:45:56 +02:00 |
|
Darien Raymond
|
0da987ec43
|
refine buffer size
|
2016-08-25 00:04:54 +02:00 |
|
Darien Raymond
|
2ae8e5d033
|
rename buffer size
|
2016-08-24 23:54:39 +02:00 |
|
Darien Raymond
|
2839ce7a88
|
simplify receiving worker
|
2016-08-24 23:51:53 +02:00 |
|
Darien Raymond
|
5d20e3f70b
|
remove sending queue
|
2016-08-24 15:47:14 +02:00 |
|
Darien Raymond
|
e6e0419958
|
format private annotation
|
2016-08-24 11:17:42 +02:00 |
|
Darien Raymond
|
a9da266bf9
|
update default in-fligh size
|
2016-08-24 07:50:33 +02:00 |
|
Darien Raymond
|
98025e1457
|
change default kcp.tti to 50
|
2016-08-23 23:32:36 +02:00 |
|
v2ray
|
07a86f549b
|
unified import path
|
2016-08-20 20:55:45 +02:00 |
|
v2ray
|
d08ffedf48
|
reduce ping frequency
|
2016-08-20 11:33:22 +02:00 |
|
v2ray
|
d83a0ce5d2
|
Apply new read function to UDP hub.
|
2016-08-19 13:00:55 +02:00 |
|
v2ray
|
55e5268ce8
|
Fix UDP reading on Windows
|
2016-08-19 12:58:26 +02:00 |
|
v2ray
|
ad1353ac2f
|
merge similar error definitions
|
2016-08-18 08:34:21 +02:00 |
|
v2ray
|
d9884b4010
|
format import
|
2016-08-17 23:14:13 +02:00 |
|
v2ray
|
8ecec9b49d
|
format log
|
2016-08-17 23:12:10 +02:00 |
|
v2ray
|
bb3ceb3d7b
|
simplify case
|
2016-08-17 23:05:47 +02:00 |
|
v2ray
|
41d89e6d1e
|
skip test requires root permission
|
2016-08-16 09:01:58 +02:00 |
|
v2ray
|
9876844296
|
fix test break
|
2016-08-16 08:37:38 +02:00 |
|
v2ray
|
6417adb56d
|
correctly get sys fd from udp conn
|
2016-08-15 23:11:01 +02:00 |
|
v2ray
|
0bca6e8657
|
fix kcp listener
|
2016-08-15 22:20:16 +02:00 |
|
v2ray
|
a5a70afdb8
|
remove port testing
|
2016-08-15 22:12:11 +02:00 |
|
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 |
|
v2ray
|
9434f5156c
|
fix memory leak
|
2016-07-12 18:27:14 +02:00 |
|
v2ray
|
205f8b382d
|
Fix race condition
|
2016-07-12 17:56:36 +02:00 |
|
v2ray
|
94d4b02191
|
non blocking flusing
|
2016-07-12 17:37:12 +02:00 |
|
v2ray
|
b68075a99d
|
test case for kcp read write
|
2016-07-12 17:11:36 +02:00 |
|
v2ray
|
4c63e9e168
|
improve fetch performance
|
2016-07-12 14:32:17 +02:00 |
|
v2ray
|
f7d54d57c4
|
remove lastpayloadtime
|
2016-07-12 14:23:42 +02:00 |
|
v2ray
|
b50671f041
|
fix a bug in process ack
|
2016-07-12 13:43:25 +02:00 |
|
v2ray
|
63390786ed
|
test case for read timeout
|
2016-07-12 13:27:12 +02:00 |
|
v2ray
|
a88a120938
|
Fix deadlock in kcp.read
|
2016-07-12 12:54:09 +02:00 |
|
v2ray
|
12d13f1560
|
refine log in KCP
|
2016-07-11 17:24:35 +02:00 |
|
v2ray
|
636effbe38
|
more accurate source id
|
2016-07-10 15:58:55 +02:00 |
|
v2ray
|
5e7d413404
|
allow insecure connections
|
2016-07-10 15:30:48 +02:00 |
|
v2ray
|
be81d246f2
|
rename json fields
|
2016-07-10 15:29:03 +02:00 |
|
v2ray
|
754e8b6e78
|
tls config
|
2016-07-10 15:27:58 +02:00 |
|
v2ray
|
1e3ebeef59
|
reduce buffer size
|
2016-07-06 17:58:15 +02:00 |
|
v2ray
|
56ce062154
|
refine connection.read
|
2016-07-06 17:34:38 +02:00 |
|
v2ray
|
a615afc906
|
refine locks in sending worker
|
2016-07-06 16:36:15 +02:00 |
|
v2ray
|
5448ec1fe4
|
refine locker in sending worker
|
2016-07-06 00:02:22 +02:00 |
|
v2ray
|
78ef65e17b
|
refine locker in kcp connection
|
2016-07-05 23:53:46 +02:00 |
|
v2ray
|
e44b374e66
|
merge kcp into connection
|
2016-07-05 23:02:52 +02:00 |
|
v2ray
|
344e48e1bb
|
completely remove itimediff
|
2016-07-05 21:47:35 +02:00 |
|
v2ray
|
16d1b42f59
|
refine seg allocation
|
2016-07-05 14:08:08 +02:00 |
|
v2ray
|
6efff7654c
|
leverage pool functions
|
2016-07-05 11:36:05 +02:00 |
|
v2ray
|
34fb72e7c6
|
refine ack seg put
|
2016-07-05 10:33:11 +02:00 |
|
v2ray
|
13e83c17a5
|
apply sync.Pool to segments
|
2016-07-05 10:28:23 +02:00 |
|
v2ray
|
e170750d7e
|
fix test
|
2016-07-04 17:01:32 +02:00 |
|
v2ray
|
6ea8691a07
|
correctly apply cwnd
|
2016-07-04 15:54:18 +02:00 |
|
v2ray
|
d1d153acb9
|
refine congestion control
|
2016-07-04 15:34:14 +02:00 |
|
v2ray
|
8ea3c13236
|
rename ISegment -> Segment
|
2016-07-04 14:17:42 +02:00 |
|
v2ray
|
03ff683686
|
rename process ack segment
|
2016-07-04 14:17:11 +02:00 |
|
v2ray
|
165e323fab
|
refine sending window size
|
2016-07-04 13:37:42 +02:00 |
|
v2ray
|
6a1054a0f3
|
allow capacity = 0
|
2016-07-04 13:31:21 +02:00 |
|
v2ray
|
9c3ebc0453
|
allow control window larger than sending window
|
2016-07-03 23:16:48 +02:00 |
|
v2ray
|
968fffcffb
|
fix test break
|
2016-07-03 22:33:08 +02:00 |
|
v2ray
|
e4acfe7f7e
|
sending worker
|
2016-07-03 22:14:38 +02:00 |
|
v2ray
|
0eaa3ba27a
|
refactor code
|
2016-07-03 09:38:51 +02:00 |
|
v2ray
|
f8a614714c
|
sending window fix
|
2016-07-03 09:38:40 +02:00 |
|
v2ray
|
ab2cef1c09
|
shrink_buf
|
2016-07-03 00:57:28 +02:00 |
|
v2ray
|
84889117e9
|
simplify logic
|
2016-07-03 00:38:33 +02:00 |
|
v2ray
|
e5c4fd3e1c
|
remove unused variables
|
2016-07-03 00:27:01 +02:00 |
|
v2ray
|
490f77b4a0
|
cleanup
|
2016-07-03 00:00:43 +02:00 |
|
v2ray
|
7bc6d8af88
|
remove nodelay function
|
2016-07-02 23:59:43 +02:00 |
|
v2ray
|
951b278ac7
|
test case for receiving queue
|
2016-07-02 23:37:51 +02:00 |
|
v2ray
|
6416c42bee
|
rename NewAckList
|
2016-07-02 23:18:12 +02:00 |
|
v2ray
|
a1af9ea839
|
refine locks
|
2016-07-02 22:28:28 +02:00 |
|
v2ray
|
3ad83da7cb
|
rename acksegment
|
2016-07-02 22:17:41 +02:00 |
|
v2ray
|
32da784549
|
remove deadlock
|
2016-07-02 22:06:37 +02:00 |
|
v2ray
|
080f0abee9
|
receiving worker
|
2016-07-02 21:26:50 +02:00 |
|
v2ray
|
3e84e4cb44
|
rename acklist
|
2016-07-02 11:33:34 +02:00 |
|
v2ray
|
e1ce179b8e
|
remove unnecessary constants
|
2016-07-02 11:31:15 +02:00 |
|
v2ray
|
94fb16fdfa
|
refine kcp constructor
|
2016-07-02 11:19:32 +02:00 |
|
v2ray
|
a2abdc3d2f
|
refine mtu settings
|
2016-07-02 08:45:31 +02:00 |
|
v2ray
|
8e98ede75d
|
shrink buf in time
|
2016-07-01 23:27:57 +02:00 |
|
v2ray
|
2169dcd7da
|
fix a bug in length calculation
|
2016-07-01 22:54:59 +02:00 |
|
v2ray
|
829355e6bf
|
correctly calculate len of sending window
|
2016-07-01 15:54:04 +02:00 |
|
v2ray
|
dc53575540
|
bug fixes in sending window
|
2016-07-01 12:12:32 +02:00 |
|
v2ray
|
4c74e25319
|
sending window
|
2016-07-01 11:57:13 +02:00 |
|
v2ray
|
48d4f5b7bb
|
remove acklist test for the moment
|
2016-07-01 11:57:06 +02:00 |
|
v2ray
|
aa46e4ea05
|
extend ack timeout
|
2016-06-30 22:19:57 +02:00 |
|
v2ray
|
d63330d15e
|
refine ack list flushing
|
2016-06-30 22:19:30 +02:00 |
|
v2ray
|
5680c69146
|
locker protected ReceivingQueue.Put
|
2016-06-30 16:58:38 +02:00 |
|
v2ray
|
a1f5839461
|
receiving queue
|
2016-06-30 14:51:49 +02:00 |
|
v2ray
|
a6649fa0ff
|
remove unused variables
|
2016-06-30 11:35:35 +02:00 |
|
v2ray
|
9d83fbcb7c
|
fix cwnd
|
2016-06-30 11:19:35 +02:00 |
|
v2ray
|
7056b414e2
|
length protection in ReadSegment
|
2016-06-30 00:12:36 +02:00 |
|
v2ray
|
f050113925
|
fix #185
|
2016-06-30 00:08:20 +02:00 |
|
v2ray
|
98cc28a4c4
|
leverage dice.Roll
|
2016-06-29 23:53:50 +02:00 |
|
v2ray
|
71c9bd678c
|
Fix receiving update
|
2016-06-29 23:41:04 +02:00 |
|
v2ray
|
313b3c1db0
|
shrink buf for all type of segments
|
2016-06-29 22:49:38 +02:00 |
|
v2ray
|
812ac54290
|
congestion control
|
2016-06-29 22:30:38 +02:00 |
|
v2ray
|
af5a2ac0bc
|
allow small capacity
|
2016-06-29 16:46:26 +02:00 |
|
v2ray
|
6e615c5863
|
correctly measure payload time
|
2016-06-29 14:49:49 +02:00 |
|
v2ray
|
c5170a36f0
|
agreesively close unresponding connections
|
2016-06-29 13:42:11 +02:00 |
|
v2ray
|
0047910a81
|
bug fixes
|
2016-06-29 12:52:23 +02:00 |
|
v2ray
|
d958b9884e
|
apply new classes to kcp core
|
2016-06-29 10:34:34 +02:00 |
|
v2ray
|
aa6726a6d0
|
segment.releasable
|
2016-06-27 22:54:59 +02:00 |
|
v2ray
|
41b230994e
|
segment writer
|
2016-06-27 22:52:48 +02:00 |
|
v2ray
|
beea2528ce
|
ack list
|
2016-06-27 22:34:46 +02:00 |
|
v2ray
|
6915095a0a
|
typed segments
|
2016-06-27 22:22:01 +02:00 |
|
v2ray
|
27b8715b63
|
refine rto settings
|
2016-06-27 17:05:01 +02:00 |
|
v2ray
|
32d9984e28
|
completely remove wnd probe
|
2016-06-27 12:16:36 +02:00 |
|
v2ray
|
5a5c9b891d
|
correct window calculation
|
2016-06-27 11:18:14 +02:00 |
|
v2ray
|
2e63b29191
|
correct srtt boundary
|
2016-06-27 09:14:30 +02:00 |
|
v2ray
|
231f5fc140
|
update RecivingWindow.Remove
|
2016-06-27 09:03:05 +02:00 |
|
v2ray
|
7f661f5215
|
rename Error to Err
|
2016-06-27 08:53:35 +02:00 |
|
v2ray
|
5ee87404fd
|
remove unused variable
|
2016-06-27 08:47:47 +02:00 |
|
v2ray
|
e9fdc35c3c
|
fix kcp dial log
|
2016-06-27 08:38:02 +02:00 |
|
v2ray
|
cf6d36ecd5
|
remove unnecessary flush
|
2016-06-27 00:04:28 +02:00 |
|
v2ray
|
3925b62751
|
high performance sending queue
|
2016-06-26 23:51:17 +02:00 |
|
v2ray
|
67ac925ee7
|
refactor bytes functions
|
2016-06-26 22:34:48 +02:00 |
|
v2ray
|
d12d5b0593
|
fix data structure
|
2016-06-25 23:28:22 +02:00 |
|
v2ray
|
d37c01905c
|
remove unnecessary conversion
|
2016-06-25 23:18:05 +02:00 |
|
v2ray
|
0812d7f9be
|
change writeBuffer to uint32
|
2016-06-25 23:17:04 +02:00 |
|
v2ray
|
5b70c33c77
|
remove tti check
|
2016-06-25 23:08:02 +02:00 |
|
v2ray
|
882746380e
|
Correct RTT Variation
|
2016-06-25 22:10:17 +02:00 |
|
v2ray
|
25ef62434a
|
high performance receiving window
|
2016-06-25 21:35:18 +02:00 |
|
v2ray
|
87e1d66ff0
|
remove segment.rto
|
2016-06-25 17:34:07 +02:00 |
|
v2ray
|
15f190d268
|
remove nodelay settings
|
2016-06-25 17:32:09 +02:00 |
|
v2ray
|
0613d0cf22
|
Clear sending queue when peer closed
|
2016-06-23 23:17:17 +02:00 |
|
v2ray
|
ab710f2714
|
write buffer size
|
2016-06-23 22:37:48 +02:00 |
|
v2ray
|
4beeba933c
|
refine rto and wnd, temporarily disable congestion control
|
2016-06-23 22:37:38 +02:00 |
|
v2ray
|
576b16c2f7
|
remove unused variable
|
2016-06-23 16:06:18 +02:00 |
|
v2ray
|
db3ca752ff
|
remove unused methods
|
2016-06-22 21:03:15 +02:00 |
|
V2Ray Dev
|
41225f8c12
|
correctly set tti
|
2016-06-20 22:27:25 +02:00 |
|
v2ray
|
1238304b1d
|
more settings to kcp
|
2016-06-20 16:10:47 +02:00 |
|
V2Ray Dev
|
b131f64f7b
|
remove acknodealy setting entry
|
2016-06-20 11:06:27 +02:00 |
|
v2ray
|
aa38488712
|
clean up sessions
|
2016-06-18 21:18:21 +02:00 |
|
v2ray
|
8cd32a8267
|
avoid copying segment structure
|
2016-06-18 19:08:02 +02:00 |
|
v2ray
|
ee0c25b0f3
|
reuse alloc.buffer in kcp
|
2016-06-18 18:53:29 +02:00 |
|
v2ray
|
7bf74761df
|
remove unused code in kcp
|
2016-06-18 17:30:31 +02:00 |
|
v2ray
|
a0d08e4961
|
check mtu setting
|
2016-06-18 17:14:39 +02:00 |
|
v2ray
|
bac9304e05
|
better termination logic
|
2016-06-18 16:52:02 +02:00 |
|
v2ray
|
5334d25e16
|
normalize naming
|
2016-06-18 16:34:04 +02:00 |
|
v2ray
|
cd4416e7e5
|
another test case for simple authenticator
|
2016-06-18 10:58:21 +02:00 |
|
v2ray
|
b5ab714b52
|
fix duplicated asm function
|
2016-06-18 10:47:15 +02:00 |
|
v2ray
|
f54da94d03
|
update asm code
|
2016-06-18 02:19:18 +02:00 |
|
v2ray
|
f7396aad8c
|
improve simple authenticator performance in amd64
|
2016-06-18 02:13:35 +02:00 |
|
v2ray
|
2b966b039f
|
check for nil
|
2016-06-17 23:50:08 +02:00 |
|
v2ray
|
7a84c930d4
|
fix KCP
|
2016-06-17 23:09:26 +02:00 |
|
v2ray
|
87cb0d5dc9
|
update log
|
2016-06-17 18:03:31 +02:00 |
|
v2ray
|
233b73d1db
|
improve kcp performance
|
2016-06-17 17:38:42 +02:00 |
|
v2ray
|
f5d613f10a
|
update kcp config
|
2016-06-17 16:57:48 +02:00 |
|
v2ray
|
42ae2d804f
|
Integrate kcp with other components
|
2016-06-17 16:51:41 +02:00 |
|
v2ray
|
103c721626
|
adjust connection type priority
|
2016-06-15 01:08:03 +02:00 |
|
v2ray
|
9d21c78a01
|
remove ibound function
|
2016-06-15 01:06:02 +02:00 |
|
v2ray
|
b8160bbdae
|
merge dial and listen functions
|
2016-06-15 00:30:11 +02:00 |
|
v2ray
|
c4536d99d4
|
test case for raw connection
|
2016-06-15 00:10:52 +02:00 |
|
v2ray
|
99516bc511
|
customizable kcp code
|
2016-06-14 23:25:06 +02:00 |
|
v2ray
|
9b6dc6bcea
|
massive refactoring for kcp
|
2016-06-14 22:54:08 +02:00 |
|
Shelikhoo
|
de4b4516ee
|
Fix: check jsonConfig.KcpConfig
|
2016-06-13 17:49:21 +08:00 |
|
Shelikhoo
|
bcf87d1592
|
KCP: style
|
2016-06-13 16:34:35 +08:00 |
|
Shelikhoo
|
14623e6fa4
|
KCP: This code cause unwanted effect
|
2016-06-13 16:01:27 +08:00 |
|
Shelikhoo
|
18841209ee
|
KCP:Some Tests
|
2016-06-13 15:57:49 +08:00 |
|
Shelikhoo
|
0f368f8139
|
KCP: comments
|
2016-06-13 15:03:58 +08:00 |
|
Shelikhoo
|
29e9473026
|
KCP: delay conn close to prevent conn leak+
|
2016-06-13 12:56:37 +08:00 |
|
Shelikhoo
|
9144b66217
|
KCP: delay conn close to prevent conn leak
|
2016-06-13 07:08:40 +08:00 |
|
Shelikhoo
|
4df5d42011
|
KCP: discard useless conn in Accept+
|
2016-06-13 06:17:28 +08:00 |
|
Shelikhoo
|
f601962391
|
KCP: discard useless conn in Accept
|
2016-06-13 06:16:44 +08:00 |
|
Shelikhoo
|
f4ff2e9366
|
Removed manadory mandatory requirement for Read/Write Timeout+
|
2016-06-12 22:39:38 +08:00 |
|
Shelikhoo
|
d0d63ee5b3
|
Removed manadory mandatory requirement for Read/Write Timeout
|
2016-06-12 22:37:50 +08:00 |
|
Shelikhoo
|
9315bb29fb
|
Fix: Dial3 misbehave
|
2016-06-12 15:21:59 +08:00 |
|
Shelikhoo
|
579786166c
|
Fix: DialWithoutCache3 misbehave
|
2016-06-12 15:15:47 +08:00 |
|
Shelikhoo
|
7fdf0de06d
|
KCP: Fixed: typo in <Fixed transport/config_json.go jsonConfig.KcpConfig, jsonConfig.KcpConfig.AdvancedConfig == nil>
|
2016-06-12 14:12:48 +08:00 |
|
Shelikhoo
|
cbb183ec58
|
KCP: Fixed transport/config_json.go jsonConfig.KcpConfig, jsonConfig.KcpConfig.AdvancedConfig == nil
|
2016-06-12 14:10:19 +08:00 |
|
Shelikhoo
|
0912574166
|
KCP: amend proxyMeta -> *proxymeta
|
2016-06-12 13:45:21 +08:00 |
|
Shelikhoo
|
4f9a9d1f0c
|
KCP: fix: meta type
|
2016-06-12 13:43:05 +08:00 |
|
Shelikhoo
|
c07d478ab5
|
KCP: Dialers for KCP
|
2016-06-12 13:38:14 +08:00 |
|
Shelikhoo
|
35b30e5bb0
|
Finished ListenKCPhub
|
2016-06-12 13:22:09 +08:00 |
|
Shelikhoo
|
70201d8879
|
KCP:func ListenKCP finished
|
2016-06-12 13:14:07 +08:00 |
|
Shelikhoo
|
a9ef8d27bd
|
Merged latest master
|
2016-06-12 12:58:20 +08:00 |
|
Shelikhoo
|
e51710d144
|
Func: ListenTCP6
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
2fd963801c
|
KCP: Added Dial func
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
e84d52263d
|
KCP: Moved apply to KCPv
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
0f28c577ce
|
KCP: Chiper generater
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
6f0b4aaf31
|
KCP: sorrgated Listener and conn
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
a8792b2b60
|
Added Config for KCP connetions
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
77eee3ed37
|
Added kcp json parser(By doing nothing)
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
12c40b7195
|
Renamed to kcpv avoid name conflict
|
2016-06-12 12:46:26 +08:00 |
|
Shelikhoo
|
63c1f2106d
|
Added kcp related configs
|
2016-06-12 12:46:26 +08:00 |
|
v2ray
|
1c06fc216a
|
allow redirection in dokodemo
|
2016-06-12 01:30:56 +02:00 |
|
v2ray
|
ffce784dce
|
comments
|
2016-06-11 13:29:33 +02:00 |
|
v2ray
|
b17edf907e
|
enable connection reuse by default
|
2016-06-11 02:05:29 +02:00 |
|
v2ray
|
a4d76dc394
|
support using specific address
|
2016-06-04 00:38:22 +02:00 |
|
v2ray
|
f3975aafbf
|
remove unnecessary log
|
2016-06-02 21:49:57 +02:00 |
|
v2ray
|
40ebd1e9ae
|
remove unused definition
|
2016-06-02 21:48:43 +02:00 |
|
v2ray
|
ff0cb89efa
|
simplify connection reuse settings
|
2016-06-02 20:52:52 +02:00 |
|
v2ray
|
9a8bc3fc3c
|
async connection close
|
2016-06-02 02:40:46 +02:00 |
|
v2ray
|
dfe1ac1f2b
|
Fix connection reuse
|
2016-06-02 02:20:53 +02:00 |
|
v2ray
|
a86cd36ad2
|
configuration for connection reuse
|
2016-06-02 01:49:25 +02:00 |
|
v2ray
|
0fac2084c7
|
reusable connection
|
2016-05-31 00:21:41 +02:00 |
|
v2ray
|
da24d00367
|
reusable connection
|
2016-05-29 22:33:04 +02:00 |
|
v2ray
|
b47c1ca609
|
get rid of annoying firewall warnings
|
2016-05-29 16:37:52 +02:00 |
|
v2ray
|
fc63f0432c
|
simplify testing
|
2016-05-24 21:55:46 +02:00 |
|
v2ray
|
18d75cb7b4
|
bug fixes to dns server
|
2016-05-16 11:53:18 -07:00 |
|
v2ray
|
ac4d92a186
|
fix udp connection mapping
|
2016-05-13 19:35:59 -07:00 |
|
v2ray
|
634c4964cc
|
Massive fixes
|
2016-05-12 17:20:07 -07:00 |
|
v2ray
|
8fbca309df
|
better management on udp connections
|
2016-05-10 15:43:02 -07:00 |
|
v2ray
|
1bd893501c
|
reduce time of waiting for channel empty
|
2016-05-09 08:23:46 -07:00 |
|
v2ray
|
9b511fb071
|
Fix a typo
|
2016-05-09 08:04:55 -07:00 |
|
v2ray
|
663b9c9bbc
|
busy wait on writing
|
2016-05-08 19:04:51 -07:00 |
|
v2ray
|
7d43952690
|
tcphub now takes tls config as construtor parameter
|
2016-05-03 00:16:07 +02:00 |
|
v2ray
|
f594f5b606
|
simplify tcp connection
|
2016-05-02 23:53:16 +02:00 |
|
v2ray
|
18069d377c
|
Release stream when conn ends
|
2016-05-02 14:03:58 +02:00 |
|
v2ray
|
ccb874d65a
|
tls connection
|
2016-04-28 21:13:41 +02:00 |
|
v2ray
|
94eab286c0
|
introduct Connection interface
|
2016-04-27 23:01:31 +02:00 |
|
v2ray
|
42907ff2e8
|
Remove v2net.Packet
|
2016-04-26 00:13:26 +02:00 |
|
v2ray
|
8c2b18cac4
|
fix again the race condition issue
|
2016-04-19 14:51:52 +02:00 |
|
v2ray
|
1732d33ba9
|
fix race condition in stream writing
|
2016-04-19 10:30:42 +02:00 |
|
v2ray
|
7407c8d561
|
use stream instead of raw chan
|
2016-04-18 18:44:10 +02:00 |
|
v2ray
|
ff69ac7a0e
|
Release all references
|
2016-03-11 23:51:58 +01:00 |
|
v2ray
|
6f7fff8173
|
release all references in tcp hub after it is closed
|
2016-03-09 11:34:27 +01:00 |
|
v2ray
|
dcd96df058
|
use NetAddr() as hash
|
2016-02-18 21:45:33 +01:00 |
|
v2ray
|
00fd6861a6
|
use golang's default dual stack algo when dialling to a domain
|
2016-02-18 12:28:45 +01:00 |
|
v2ray
|
175d56a10b
|
don't log warning when not accepting anymore.
|
2016-02-18 11:36:21 +01:00 |
|
v2ray
|
25dfa66822
|
typos
|
2016-02-05 22:04:43 +01:00 |
|
Darien Raymond
|
b54a265373
|
increase buffer size in ray
|
2016-02-03 14:12:46 +00:00 |
|
Darien Raymond
|
0d77139c24
|
fix udp issue in socks proxy
|
2016-02-01 15:36:33 +00:00 |
|
v2ray
|
383eb57487
|
rename CorruptedPacket to ErrorCorruptedPacket
|
2016-01-30 17:20:30 +01:00 |
|
v2ray
|
1e79a3b75a
|
rename errors
|
2016-01-30 12:32:38 +01:00 |
|
Darien Raymond
|
008c285324
|
move transport methods from net to io
|
2016-01-29 13:39:55 +00:00 |
|
v2ray
|
1f9bd5f692
|
rename TCPListener to TCPHub
|
2016-01-28 20:47:00 +01:00 |
|
Darien Raymond
|
4be27a6377
|
udp hub
|
2016-01-28 16:43:47 +00:00 |
|
Darien Raymond
|
925c06aeed
|
rename transport/listener to hub
|
2016-01-28 16:08:32 +00:00 |
|
v2ray
|
8ae8b3c9f5
|
custom tcp listener and connection object
|
2016-01-27 22:11:31 +01:00 |
|
v2ray
|
37a9d8ef50
|
dice.Roll()
|
2016-01-21 22:45:44 +01:00 |
|
Darien Raymond
|
e346f179d2
|
update my own domain for testing
|
2016-01-21 12:27:08 +00:00 |
|
Darien Raymond
|
cf4d0146fb
|
test case for domain dialing
|
2016-01-21 12:18:37 +00:00 |
|
v2ray
|
4a8ec6926b
|
dialer
|
2015-12-17 01:19:04 +01:00 |
|
V2Ray
|
9a88e8696a
|
format code
|
2015-11-27 21:57:15 +01:00 |
|
V2 Ray
|
9071b3ea10
|
more comments
|
2015-10-15 11:15:59 +00:00 |
|
V2Ray
|
a03eaa0316
|
Split directRay from ray.go
|
2015-10-14 15:07:13 +02:00 |
|
V2Ray
|
890d185979
|
Cleanup root directory
|
2015-10-14 14:51:19 +02:00 |
|
V2Ray
|
1d40220d31
|
Remove error defination
|
2015-10-13 13:55:06 +02:00 |
|