Commit Graph

580 Commits (d08929a68765c86421198f0134f8d6fdfeba4025)

Author SHA1 Message Date
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