Add trojan-local and server command

This commit is contained in:
世界 2022-04-30 13:15:23 +08:00
parent c66f869581
commit 01eeea9a2e
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
12 changed files with 634 additions and 48 deletions

View file

@ -325,7 +325,7 @@ func (c *client) NewConnection(ctx context.Context, conn net.Conn, metadata M.Me
}
_payload := buf.StackNew()
payload := common.Dup(_payload)
err = conn.SetReadDeadline(time.Now().Add(200 * time.Millisecond))
err = conn.SetReadDeadline(time.Now().Add(100 * time.Millisecond))
if err != nil {
return err
}