- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for writeDeadline (0.08 sec)
-
internal/deadlineconn/deadlineconn.go
c.readSetAt = now } } } func (c *DeadlineConn) setWriteDeadline() { if c.writeDeadline > 0 { now := time.Now() if now.Sub(c.writeSetAt) > updateInterval { c.Conn.SetWriteDeadline(now.Add(c.writeDeadline + updateInterval)) c.writeSetAt = now } } } // Read - reads data from the connection using wrapped buffered reader.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 17:40:11 UTC 2024 - 2.6K bytes - Viewed (0)