Commit Graph
261 Commits
Author SHA1 Message Date
hex2tan 3d63ec4e78 fixed add new user bug
fixed add new user bug.
when add new user, just add the key(u.email) to the map(v.cache), the value of map is nil.
2019-09-26 13:48:52 +08:00
Kslr 2451eedbc4 Merge pull request #1767 from Gondnat/addEmailIntoAccessLog
Add email into access log for shadowsocks and vmess
2019-07-13 22:50:35 +08:00
Gondnat dd048bfb29 add email into access log for shadowsocks, vmess and mux 2019-07-02 10:43:34 +08:00
Kirill Motkov 0401a91ef4 Some code improvements
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
Darien Raymond 1ab94fed79 optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond 3de8389361 rename CloseError() to Interrupt() 2018-12-31 21:25:10 +01:00
Darien Raymond 427679e66d simplify task execution 2018-12-06 11:35:02 +01:00
Darien Raymond bea521537e errors.Combine 2018-12-04 14:17:08 +01:00
Darien Raymond 057e271588 update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond 769f770cf7 migrate NetworkList to []Network 2018-11-20 16:58:26 +01:00
Darien Raymond a5dcb0f13e refactor dependency resolution 2018-10-21 10:27:13 +02:00
Darien Raymond 4fcb39ded9 comments 2018-10-18 09:25:58 +02:00
Darien Raymond 595f3d685e merge user info inbound metadata 2018-10-15 08:36:50 +02:00
Darien Raymond b4821c5ed5 move policy and dnsClient 2018-10-11 22:34:31 +02:00
Darien Raymond 273342d0b9 move stats and inbound to features directory 2018-10-11 21:14:53 +02:00
Darien Raymond b6dc31d3fe first part to move feature interfaces into dedicated directory 2018-10-11 20:43:37 +02:00
Darien Raymond 091fa6ad23 use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond d55fbd7f8d simplify error creation 2018-09-30 18:39:53 +02:00
Darien Raymond 00ea6e3cb2 update protobuf generated files 2018-09-30 18:39:28 +02:00
Darien Raymond 383b84e7dd unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond 7f697661cd fix a typo 2018-09-17 11:57:56 +02:00
Darien Raymond cb2658f2bf Revert "pooled session objects"
This reverts commit a89ff38fe6.
2018-09-14 16:51:46 +02:00
Darien Raymond d068f357bd update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond a89ff38fe6 pooled session objects 2018-09-11 20:15:15 +02:00
Darien Raymond aefbc4c5de cleanup vmess inbound handler 2018-08-31 15:50:13 +02:00
Darien Raymond 54e1bb96cc introduce in-memory user 2018-08-27 00:11:32 +02:00
Darien Raymond 57966adf49 revert reader creation based on per-connection buffer 2018-08-17 20:54:25 +02:00
Darien Raymond d665cf3e72 refine reader creation in vmess inbound 2018-07-31 19:33:54 +02:00
Darien Raymond 5e65d7da6d more accurate memory usage when buffer = 0 2018-07-31 16:05:57 +02:00
Darien Raymond 4b63638dca update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond 9a8488074e env flag controlled global padding 2018-07-18 10:40:28 +02:00
Darien Raymond ff0ae91b9b update protobuf generated files 2018-06-26 16:28:54 +02:00
Darien Raymond 9977eadf8c remove dependency from errors to session 2018-06-25 01:09:02 +02:00
Darien Raymond 13f3c356ca unified task package 2018-05-27 13:02:29 +02:00
Darien Raymond 7fa4bb434b fix pipe closing logic for inbound proxies. 2018-05-27 11:42:01 +02:00
Darien Raymond 213f827406 policy for internal buffer size 2018-05-25 12:08:28 +02:00
Darien Raymond 68da956fc4 re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond 148a7d064d simplify buf.BufferedReader 2018-04-21 00:54:53 +02:00
Darien Raymond 5d23604713 rewrite ray -> pipe 2018-04-17 00:31:10 +02:00
Darien Raymond 0caf2a004b reduce memory usage of vmess internal objects 2018-04-14 15:05:49 +02:00
Darien Raymond 0caf92726b better way to run tasks in parallel 2018-04-11 16:45:09 +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 076f385e4b stop recording mux access log 2018-04-04 21:32:54 +02:00
Darien Raymond fa63beceb6 fix double release on buffers 2018-03-28 22:23:24 +02:00
Darien Raymond 546c2fb226 settings for forcing secure encryption in vmess server 2018-02-23 12:13:02 +01:00
Darien Raymond 6b872c266c session id 2018-02-22 15:26:00 +01:00
Darien Raymond 88b25d38cb simplify context retrieval 2018-02-21 17:05:29 +01:00
Shelikhoo 7f34cbdaff Add Generated Files 2018-02-12 14:17:14 +08:00
Darien Raymond 8460d016ab fix address parsing for mux 2018-02-09 17:48:09 +01:00
Darien Raymond 05d93e5eb0 fix handling for empty email addresses 2018-02-09 11:43:23 +01:00