Commit Graph

638 Commits (973378d610b839bcf4c08b687c962d296e09a54a)

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