Darien Raymond
|
1425fd2ba9
|
remove Buffer.Append method
|
2018-04-19 22:56:55 +02:00 |
|
Shelikhoo
|
c542c043f3
|
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket
|
2018-04-05 19:11:33 +08: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
|
5a08411ee2
|
fix typo
|
2018-04-02 15:52:16 +08: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
|
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 |
|
Shelikhoo
|
7f34cbdaff
|
Add Generated Files
|
2018-02-12 14:17:14 +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
|
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
|
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
|
9b15e2f6f7
|
more informational logs
|
2017-12-27 21:39:14 +01:00 |
|
Darien Raymond
|
8a09c6c926
|
migrate to signal.Semaphore and Notifier
|
2017-12-27 21:33:42 +01:00 |
|
Darien Raymond
|
f4c35db968
|
merge log into common log
|
2017-12-19 21:28:12 +01:00 |
|
Darien Raymond
|
3cc6d8f653
|
fix a data race in KCP
|
2017-12-17 01:22:39 +01:00 |
|
Darien Raymond
|
048ffbc7dc
|
simplify tls config
|
2017-12-17 00:53:17 +01:00 |
|
Darien Raymond
|
4fad49fef8
|
fix build break
|
2017-12-14 23:43:28 +01:00 |
|
Darien Raymond
|
2acef1cc07
|
cleanup kcp connection
|
2017-12-14 23:24:40 +01:00 |
|
Darien Raymond
|
0032760fdc
|
cleanup kcp connection
|
2017-12-14 23:02:10 +01:00 |
|
Darien Raymond
|
19a0d21cb6
|
fix kcp write
|
2017-12-05 18:04:34 +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
|
2371617a22
|
fix lint warnings
|
2017-11-23 23:46:46 +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
|
6c9a60100d
|
format code
|
2017-10-26 21:44:22 +02:00 |
|
Darien Raymond
|
af88016320
|
fix #643
|
2017-10-26 11:43:02 +02:00 |
|
Darien Raymond
|
74cf833758
|
fully migrate to new assertion lib
|
2017-10-24 16:15:35 +02:00 |
|
Darien Raymond
|
2a04819582
|
fix data race in kcp connection
|
2017-10-20 23:30:14 +02:00 |
|
Darien Raymond
|
8971e699d9
|
common.Must2
|
2017-09-19 23:27:49 +02:00 |
|
Darien Raymond
|
fbbed156db
|
fix lint warnings
|
2017-08-29 14:50:53 +02:00 |
|
Darien Raymond
|
1c856a46ab
|
step 1 to remove reference to net package
|
2017-08-29 12:56:57 +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
|
2e756cdaa8
|
refactor
|
2017-04-27 11:54:15 +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
|
5f4acaa9ea
|
merging reader and writer
|
2017-04-20 11:00:15 +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
|
b1dfff2fdd
|
remove 8k buffer pool
|
2017-04-15 21:19:21 +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
|
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
|
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
|
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
|
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
|
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
|
48eb40ff39
|
dice.RandomUint16
|
2017-02-14 22:29:44 +01:00 |
|
Darien Raymond
|
6888093197
|
gofmt
|
2017-02-10 16:42:24 +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
|
b5d14b6823
|
update java options
|
2017-02-03 23:15:10 +01:00 |
|
Darien Raymond
|
f046f334cd
|
move common/log to app/log
|
2017-02-01 21:35:40 +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
|
db1c9131f0
|
global config creator
|
2017-01-12 22:47:10 +01:00 |
|
Darien Raymond
|
d24fe9dbfb
|
separate network and transport protocol
|
2017-01-12 12:54:34 +01:00 |
|
Darien Raymond
|
f7721029c7
|
fix #355
|
2017-01-04 17:23:41 +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
|
21a15bbf74
|
registerable dialer and listener
|
2017-01-03 15:16:48 +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
|
48bddb25d7
|
fix lint warnings
|
2017-01-01 22:12:44 +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
|
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
|
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
|
50bc195f7f
|
rename TypedSettings to TypedMessage
|
2016-12-15 11:51:09 +01:00 |
|
Darien Raymond
|
eee23e6718
|
fix api usage
|
2016-12-11 21:43:16 +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
|
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
|
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
|
1186b0e733
|
fix label name
|
2016-12-02 00:09:57 +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
|
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
|
d6086e0e9b
|
remove buggy test case
|
2016-11-19 22:54:42 +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
|
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
|
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
|
7a09fcdc2f
|
increase kcp ack frequency
|
2016-11-08 00:35:14 +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 |
|