Spawn proxy thread on every connection

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
Vasyl Gello 2024-01-06 17:03:37 +00:00
parent e70c1444bb
commit c09e2fb534

View file

@ -302,7 +302,7 @@ func main() {
_ = c.Close()
continue
}
types.ProxyTCP(n.core.MTU(), c, r)
go types.ProxyTCP(n.core.MTU(), c, r)
}
}(mapping)
}