1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-08 03:59:11 -04:00

completely remove connection reuse feature

This commit is contained in:
Darien Raymond
2017-04-07 21:54:40 +02:00
parent cc8935ee02
commit ade8453c0a
40 changed files with 139 additions and 920 deletions

View File

@@ -45,7 +45,6 @@ func (d *DokodemoDoor) Network() net.NetworkList {
func (d *DokodemoDoor) Process(ctx context.Context, network net.Network, conn internet.Connection, dispatcher dispatcher.Interface) error {
log.Trace(errors.New("Dokodemo: processing connection from: ", conn.RemoteAddr()).AtDebug())
conn.SetReusable(false)
dest := net.Destination{
Network: network,
Address: d.address,