mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-20 01:00:56 +00:00
fix: tuic connection error using fast_open
This commit is contained in:
parent
7160fb2a4b
commit
bc15a8d757
1 changed files with 4 additions and 0 deletions
|
@ -307,6 +307,10 @@ type earlyConn struct {
|
|||
RequestTimeout time.Duration
|
||||
}
|
||||
|
||||
func (conn *earlyConn) ReaderReplaceable() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (conn *earlyConn) response() error {
|
||||
if conn.RequestTimeout > 0 {
|
||||
_ = conn.SetReadDeadline(time.Now().Add(conn.RequestTimeout))
|
||||
|
|
Loading…
Add table
Reference in a new issue