You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
goversion:go version go1.19.13 windows/amd64
hostarch:linux
go fd, err1 := outConn.(*net.TCPConn).File() if err1 == nil { syscall.SetsockoptInt(int(fd.Fd()), syscall.SOL_SOCKET, syscall.SO_RCVBUF, 1024*128) }
Then, call the outConn.Close() returned nil error, but I used netstat to check the connection, and it was still in the ESTABLISH state. When I deleted the code that set the SO_RCVBUF size, everything returned to normal. I'm not sure what the problem is. Is there something wrong with my usage?
Of course, t can see the receive buffer has many bytes to read.
please help me,thank you!!
The text was updated successfully, but these errors were encountered:
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
goversion:go version go1.19.13 windows/amd64
hostarch:linux
go fd, err1 := outConn.(*net.TCPConn).File() if err1 == nil { syscall.SetsockoptInt(int(fd.Fd()), syscall.SOL_SOCKET, syscall.SO_RCVBUF, 1024*128) }
Then, call the
outConn.Close()
returned nil error, but I used netstat to check the connection, and it was still in theESTABLISH
state. When I deleted the code that set theSO_RCVBUF
size, everything returned to normal. I'm not sure what the problem is. Is there something wrong with my usage?Of course, t can see the receive buffer has many bytes to read.
please help me,thank you!!
The text was updated successfully, but these errors were encountered: