We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf64f5 commit 46a59b2Copy full SHA for 46a59b2
session.go
@@ -480,11 +480,6 @@ func (s *Session) sendLoop() {
480
binary.LittleEndian.PutUint16(buf[2:], uint16(len(request.frame.data)))
481
binary.LittleEndian.PutUint32(buf[4:], request.frame.sid)
482
483
- // set timeout conn
484
- if tconn, ok := s.conn.(interface{ SetWriteDeadline(t time.Time) error }); ok {
485
- tconn.SetWriteDeadline(time.Now().Add(s.config.KeepAliveTimeout))
486
- }
487
-
488
if len(vec) > 0 {
489
vec[0] = buf[:headerSize]
490
vec[1] = request.frame.data
0 commit comments