mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
set keep-alive to false
This commit is contained in:
parent
729008083e
commit
8b6bd3d650
@ -43,8 +43,7 @@ func (p *Proxy) Start() {
|
||||
log.Fatal("Error accepting connection: ", err)
|
||||
continue
|
||||
}
|
||||
// conn.SetDeadLine(time.Now().Add(3 * time.Second))
|
||||
// conn.SetKeepAlive(false)
|
||||
conn.SetKeepAlive(false)
|
||||
|
||||
go func() {
|
||||
b, err := conn.ReadBytes()
|
||||
|
Loading…
Reference in New Issue
Block a user