SetDeadline sets the read and write deadlines associated with the connection. A zero value for t means Read and Write will not time out. After a Write has timed out, the TLS state is corrupt and all future writes will return the same error.
(t time.Time)
| 151 | // After a Write has timed out, the TLS state is corrupt and all future writes |
| 152 | // will return the same error. |
| 153 | func (c *CryptoConn) SetDeadline(t time.Time) error { |
| 154 | return c.Conn.SetDeadline(t) |
| 155 | } |
| 156 | |
| 157 | // SetReadDeadline sets the read deadline on the underlying connection. |
| 158 | // A zero value for t means Read will not time out. |
no outgoing calls