mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
fix delay in blackhole
This commit is contained in:
parent
d2470e2cdb
commit
3e8da9e540
@ -34,7 +34,6 @@ func (h *Handler) Process(ctx context.Context, outboundRay ray.OutboundRay, dial
|
|||||||
// Sleep a little here to make sure the response is sent to client.
|
// Sleep a little here to make sure the response is sent to client.
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
outboundRay.OutboundOutput().CloseError()
|
outboundRay.OutboundOutput().CloseError()
|
||||||
time.Sleep(time.Second * 2)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user