MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / SetDeadline

Method SetDeadline

crypto/etls/conn.go:153–155  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

151// After a Write has timed out, the TLS state is corrupt and all future writes
152// will return the same error.
153func (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.

Callers 4

PrepareMethod · 0.80
CommitMethod · 0.80
RollbackMethod · 0.80
TestETLSBugFunction · 0.80

Calls

no outgoing calls

Tested by 4

PrepareMethod · 0.64
CommitMethod · 0.64
RollbackMethod · 0.64
TestETLSBugFunction · 0.64