Improve: enable system proxy by default

This commit is contained in:
kr328 2021-06-13 04:22:15 +08:00
parent 8375fbd8b3
commit 750abc8c71
2 changed files with 4 additions and 2 deletions

View File

@ -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
}

View File

@ -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(