Commit Graph
100 Commits
Author SHA1 Message Date
Darien Raymond a3f47f4fa2 comments 2018-04-04 00:57:44 +02:00
Darien Raymond 9f198d7e3d fix lint errors 2018-04-04 00:29:30 +02:00
Darien Raymond 27ccc9d726 comments 2018-04-03 22:34:59 +02:00
Darien Raymond 074dfbb78c add network list to shadowsocks server 2018-04-03 17:51:01 +02:00
DarienRaymondandGitHub 8bc20c8656 Merge pull request #1013 from wuxiangzhou2010/master
add nil check  and correct some comments
2018-04-03 11:52:58 +02:00
Darien Raymond 7bafd7a1ab migrate int to int32 2018-04-03 11:32:03 +02:00
Darien Raymond 4c2edeb18a fix test break 2018-04-02 22:17:06 +02:00
Darien Raymond 009d58dd6c remove static bytes array 2018-04-02 22:12:51 +02:00
Darien Raymond c5bd23105e change uint32 to int32 2018-04-02 22:01:55 +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
DarienRaymondandGitHub 43e389d287 Merge pull request #1008 from wuxiangzhou2010/master
fix typo, first sound of user is not a vowel, but the consonant /j/
2018-04-02 19:59:04 +02:00
Darien Raymond 4de3f1adc1 change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Darien Raymond 03512a6a9b read size to multi buffer 2018-04-02 00:25:42 +02:00
Darien Raymond 5af3580bcf correct magic number 2018-04-02 00:00:15 +02:00
Darien Raymond 3d919a6a93 optimize auth reader 2018-04-01 23:31:53 +02:00
Darien Raymond 8d0a74b3fa refine auth writer 2018-04-01 22:41:38 +02:00
Darien Raymond b3ecb9f766 align large size 2018-04-01 12:20:32 +02:00
Darien Raymond 053d03349a refactor 2018-04-01 09:58:45 +02:00
Darien Raymond 90f2480037 trace context 2018-04-01 09:57:26 +02:00
Darien Raymond 50c4e3389c remove unnecessary test 2018-04-01 09:51:44 +02:00
Darien Raymond 6d98bc4607 split uplink and downlink traffic 2018-03-31 20:30:49 +02:00
Darien Raymond 0975e26ed1 command handler for stats 2018-03-31 10:30:12 +02:00
Darien Raymond eafb726a8d use go 1.10.1 2018-03-30 23:52:51 +02:00
Darien Raymond e5a5c30b67 support stats counter in dispatcher 2018-03-30 23:48:45 +02:00
Darien Raymond 695a4f8493 support stats in policy 2018-03-30 23:39:54 +02:00
Darien Raymond f7dd7e6279 support stats counter in ray stream 2018-03-30 23:17:28 +02:00
Darien Raymond 35e160a1ff stats feature 2018-03-30 19:56:59 +02:00
Darien Raymond 24f393a23f Update version 2018-03-29 21:52:43 +02:00
Darien Raymond fa6ff77cee prevent appending nil buffer 2018-03-29 21:40:23 +02:00
Darien Raymond bb46a96f04 refine handling for empty read 2018-03-29 18:15:50 +02:00
Darien Raymond babd0107cf prevent empty read in Reader 2018-03-29 10:40:18 +02:00
Darien Raymond fc7da93d06 less cap 2018-03-28 22:24:01 +02:00
Darien Raymond 141b31eb19 simplify code 2018-03-28 22:23:49 +02:00
Darien Raymond 47c92fafc8 clear leftOver after write 2018-03-28 22:23:38 +02:00
Darien Raymond fa63beceb6 fix double release on buffers 2018-03-28 22:23:24 +02:00
Darien Raymond 12181f527f defensive fix for improper usage of buf.New(). 2018-03-28 14:40:51 +02:00
Darien Raymond eeed65f826 fix #999 2018-03-28 14:33:34 +02:00
DarienRaymondandGitHub a52f6ec02a Merge pull request #992 from wuxiangzhou2010/master
fix typo
2018-03-27 12:43:58 +02:00
Darien Raymond e44394ade5 more informational error 2018-03-26 16:56:19 +02:00
DarienRaymondandGitHub 1dadd54502 Merge pull request #985 from yujinqiu/yet-another-typo
Fix another typo
2018-03-24 20:42:01 +01:00
DarienRaymondandGitHub 30e99f76cb Merge pull request #982 from yujinqiu/consistent_code
consistent  ServerSpec  variable name
2018-03-23 10:25:39 +01:00
DarienRaymondandGitHub 3ad03b8b4a Merge pull request #981 from yujinqiu/clean_code
Clean useless code
2018-03-23 10:25:19 +01:00
Darien Raymond 3ff570a050 write listen error to log 2018-03-21 23:38:49 +01:00
Darien Raymond 169b901c2d lazy init of dialer map 2018-03-21 23:28:28 +01:00
Darien Raymond e647292b9a protect against writing to closed body 2018-03-21 12:53:57 +01:00
DarienRaymondandGitHub bf5e93efd7 Merge pull request #968 from wuxiangzhou2010/master
fix typo
2018-03-19 21:44:25 +07:00
Darien Raymond b2d9364cb5 release buffer if payload becomes small 2018-03-16 22:32:03 +07:00
Darien Raymond feb421d9e1 Update version 2018-03-16 16:36:47 +07:00
Darien Raymond 000e0804e8 fix buffer recycling 2018-03-16 16:22:22 +07:00
DarienRaymondandGitHub a8a68c2e70 Merge pull request #962 from yujinqiu/fix-typo
Fix typo
2018-03-16 04:16:47 +01:00
Darien Raymond b5b9a83823 reorder fields in Destination for faster hashing 2018-03-16 10:13:10 +07:00
Darien Raymond 087c0c1499 refine address family type 2018-03-13 09:02:34 +01:00
Darien Raymond b4e1240160 comments 2018-03-13 09:02:21 +01:00
Darien Raymond 5a227ec356 int to int32 2018-03-13 03:39:36 +01:00
Darien Raymond 1cbfeea0cd simplify NewSize calls 2018-03-12 22:10:13 +01:00
Darien Raymond 0c213ccd20 reset buffer when free 2018-03-12 16:24:31 +01:00
Darien Raymond 5bbece14af simplify pool creation 2018-03-12 16:21:39 +01:00
Darien Raymond d1898b995f remove unnecessary NewSize 2018-03-11 23:45:24 +01:00
Darien Raymond 34c12c1af6 extend buffer 2018-03-11 23:31:37 +01:00
Darien Raymond 931c8597ca fix len -> cap 2018-03-11 23:30:51 +01:00
Darien Raymond 994aecd13c rename NewLocal to NewSize 2018-03-11 23:29:17 +01:00
Darien Raymond f97e6fa3d2 refine buffer allocation 2018-03-11 23:06:04 +01:00
DarienRaymondandGitHub 5eac607087 Merge pull request #946 from yujinqiu/fix-typo
Fix receivced, InboundBound, tranport typo
2018-03-11 10:12:01 +01:00
Darien Raymond 649119493b remove pending request from cache when error. fixes #942 2018-03-10 09:34:38 +01:00
Darien Raymond fda85506c8 reuse buffer 2018-03-09 11:26:00 +01:00
Darien Raymond 1179ecef27 block until rpc connection is ready 2018-03-08 23:40:02 +01:00
Darien Raymond ed79ba6cba Update version 2018-03-08 22:41:41 +01:00
Darien Raymond eaf043f1b3 reduce memory usage of Buffer 2018-03-08 22:30:52 +01:00
Darien Raymond fbc025869b fix lint errors 2018-03-08 21:21:50 +01:00
Darien Raymond f17b865982 gofmt 2018-03-08 21:07:01 +01:00
DarienRaymondandGitHub 51bd5132f6 Merge pull request #934 from yujinqiu/fix-execute-typo
Fix executable typo
2018-03-08 10:49:29 +01:00
Darien Raymond 2c854057f7 test case for mux over shadowsocks 2018-03-07 22:47:18 +01:00
DarienRaymondandGitHub ff1e386a04 Merge pull request #931 from wuxiangzhou2010/master
fix typo
2018-03-07 13:05:20 +01:00
DarienRaymondandGitHub ce7caccdd3 Merge pull request #929 from yujinqiu/fix-download-typo
Fix typo
2018-03-06 18:03:59 +01:00
DarienRaymondandGitHub 2628fc7cdc Merge pull request #928 from yujinqiu/fix-typo
Fix typo
2018-03-06 15:49:22 +01:00
DarienRaymondandGitHub 9ae3a68c82 Merge pull request #927 from yujinqiu/fix-error-output
Capture command error output
2018-03-06 15:49:06 +01:00
Darien Raymond 4d1bb21055 Update version 2018-03-06 11:25:27 +01:00
Darien Raymond a1401e7632 fix compatibility with shadowrocket. fixes #920 2018-03-06 10:59:37 +01:00
DarienRaymondandGitHub 4b5a5810a3 Merge pull request #924 from yujinqiu/dedup-protocol-register
Dedup protocol registration
2018-03-06 10:43:56 +01:00
Darien Raymond e1bdca446d fix context reference 2018-03-05 21:15:41 +01:00
Darien Raymond 6e293f492c verify command 2018-03-04 22:38:05 +01:00
Darien Raymond 9100a78914 refactor 2018-03-04 21:06:04 +01:00
Darien Raymond a52eb8f82b allow underscore in domain name. fixes #917 2018-03-04 17:08:58 +01:00
Darien Raymond 6b4272d8d2 update release key. fixes #907 2018-03-02 21:13:05 +01:00
Darien Raymond 8c499d8fd2 Update version 2018-03-01 22:14:07 +01:00
Darien Raymond 2e7944a9eb concurrent connection in h2 2018-03-01 21:42:42 +01:00
Darien Raymond 20be8aab61 test case for h2 transport 2018-03-01 21:22:53 +01:00
Darien Raymond ed5f0b95d6 remove id in log 2018-03-01 21:16:51 +01:00
Darien Raymond 8d679fb5c8 include h2 2018-03-01 21:10:45 +01:00
Darien Raymond a4f6ee6718 print version when starts 2018-03-01 21:10:40 +01:00
Darien Raymond c4dd86da84 update geoip 2018-03-01 17:47:35 +01:00
Darien Raymond 59958fed68 refactor udp worker 2018-03-01 14:58:13 +01:00
Darien Raymond e5d3783ed7 consume config in dialer and hub 2018-03-01 14:22:33 +01:00
Darien Raymond d207d953bd h2 transport 2018-03-01 13:16:52 +01:00
Darien Raymond af29e42771 move tcp.PickPort to its own package 2018-03-01 11:53:39 +01:00
Darien Raymond a7d467992d try parse domain address as IP. fixes #894. 2018-03-01 11:32:55 +01:00
Darien Raymond bdab1af29a update tls config generation 2018-02-28 15:15:22 +01:00
Darien Raymond b7d48fe7c5 prevent reading 0 bytes 2018-02-26 17:50:14 +01:00
Darien Raymond 6a3abf3147 fix data race when caching session id 2018-02-26 17:49:53 +01:00