mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-02 20:30:43 +00:00
remove mux connection deadline
This commit is contained in:
parent
453d36f658
commit
231ba13e8c
@ -34,6 +34,7 @@ type Mux struct {
|
||||
func NewMux(c net.Conn, connType string) *Mux {
|
||||
//c.(*net.TCPConn).SetReadBuffer(0)
|
||||
//c.(*net.TCPConn).SetWriteBuffer(0)
|
||||
_ = c.SetDeadline(time.Time{})
|
||||
m := &Mux{
|
||||
conn: c,
|
||||
connMap: NewConnMap(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user