Improve: enable system proxy by default
This commit is contained in:
1 parent
8375fbd8b3
commit
750abc8c71
2 files changed
+4
-2
No files matched your search
@@ -89,8 +89,10 @@ func (l *httpListener) handleConn(conn net.Conn) {
|
||||
if err != nil || request.URL.Host == "" {
|
||||
if err != nil {
|
||||
log.Warnln("HTTP Connection closed: %s", err.Error())
|
||||
} else {
|
||||
log.Warnln("HTTP Connection closed: unknown host")
|
||||
}
|
||||
|
||||
|
||||
_ = conn.Close()
|
||||
return
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ class ServiceStore(context: Context) {
|
||||
|
||||
var systemProxy by store.boolean(
|
||||
key = "system_proxy",
|
||||
defaultValue = false
|
||||
defaultValue = true
|
||||
)
|
||||
|
||||
var blockLoopback by store.boolean(
|
||||
|
||||
Reference in new issue
Block a user