Skip to content
Snippets Groups Projects
Commit 750abc8c authored by kr328's avatar kr328
Browse files

Improve: enable system proxy by default

parent 8375fbd8
No related branches found
No related tags found
No related merge requests found
...@@ -89,8 +89,10 @@ func (l *httpListener) handleConn(conn net.Conn) { ...@@ -89,8 +89,10 @@ func (l *httpListener) handleConn(conn net.Conn) {
if err != nil || request.URL.Host == "" { if err != nil || request.URL.Host == "" {
if err != nil { if err != nil {
log.Warnln("HTTP Connection closed: %s", err.Error()) log.Warnln("HTTP Connection closed: %s", err.Error())
} else {
log.Warnln("HTTP Connection closed: unknown host")
} }
_ = conn.Close() _ = conn.Close()
return return
} }
......
...@@ -43,7 +43,7 @@ class ServiceStore(context: Context) { ...@@ -43,7 +43,7 @@ class ServiceStore(context: Context) {
var systemProxy by store.boolean( var systemProxy by store.boolean(
key = "system_proxy", key = "system_proxy",
defaultValue = false defaultValue = true
) )
var blockLoopback by store.boolean( var blockLoopback by store.boolean(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment