1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 17:35:23 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
Iskander Sharipov
4dfe45ec19 app/router: rewrite if-else chain to switch
From effective Go: https://golang.org/doc/effective_go.html#switch

> It's therefore possible—and idiomatic—to write an if-else-if-else chain as a switch.
2018-10-01 12:07:19 +03:00
Darien Raymond
fca324a399
fix build break 2018-08-19 22:28:02 +02:00
Darien Raymond
edcf564dd7
improve performance of domain matcher 2018-08-19 21:04:15 +02:00
Darien Raymond
ecd45ffb65
propagate error when adding domain condition 2018-07-17 17:53:24 +02:00
Darien Raymond
c0e37ef34a
prototype for new sniffing mechanism 2018-07-16 13:47:00 +02:00
Darien Raymond
758723516e
reorder condition list to short circuit IP resolution if possible.
Fix #1021
2018-04-06 15:56:53 +02:00
Darien Raymond
2bf5a008f0
fix error levels 2017-12-27 22:25:12 +01:00
Darien Raymond
6b77e14bf6 cachable domain matcher, step 1 2017-11-06 21:12:28 +01:00
Darien Raymond
52ad41cda3 completely move away from net package 2017-08-29 14:32:54 +02:00
Darien Raymond
815019f6da rename IPNet to IPNetTable 2017-08-29 13:51:09 +02:00
Darien Raymond
069837417f
test case for routing rule 2017-05-17 13:24:53 +02:00
Darien Raymond
a0bde091d4
sub domain matcher 2017-05-08 12:18:13 +02:00
Darien Raymond
a0ac334703
refactor 2017-05-08 11:48:41 +02:00
Darien Raymond
68bc9ea8e4
cleanup error messages 2017-04-09 15:04:04 +02:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
efb24a4d21
rewrite error lib 2016-12-04 09:10:47 +01:00
Darien Raymond
f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond
fc81b0aae2
config for inbound tag routing 2016-11-13 21:23:34 +01:00
Darien Raymond
aae99a8e98
use session in router 2016-10-18 23:01:39 +02:00
Darien Raymond
e13c97d162
rename IP to CIDR in router 2016-10-18 16:42:22 +02:00
Darien Raymond
22ef12a456
simplify router 2016-10-12 16:11:13 +02:00
Darien Raymond
ae8121e633 remove json packages in app folder 2016-01-17 15:20:49 +00:00
v2ray
641e5db851 rename RouterConfig to Config 2015-12-08 00:04:02 +01:00
v2ray
aab774e78f simplify router config 2015-12-07 22:47:47 +01:00