Commit Graph

701 Commits (d08929a68765c86421198f0134f8d6fdfeba4025)

Author SHA1 Message Date
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 94bba49674 fix lint warnings 2017-10-23 14:15:16 +02:00
Darien Raymond 62258e6aef fix #638 2017-10-23 14:09:14 +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 5ae8bfbda1 fix data race in ray 2017-10-20 23:23:29 +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 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