mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 22:36:53 +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)
|
log.Fatal("Error accepting connection: ", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// conn.SetDeadLine(time.Now().Add(3 * time.Second))
|
conn.SetKeepAlive(false)
|
||||||
// conn.SetKeepAlive(false)
|
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
b, err := conn.ReadBytes()
|
b, err := conn.ReadBytes()
|
||||||
|
Loading…
Reference in New Issue
Block a user