- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sendAlertLocked (1.25 sec)
-
src/crypto/tls/quic.go
// Exported methods of QUICConn wait for the handshake to become blocked // before returning to the user. select { case c.quic.blockedc <- struct{}{}: case <-c.quic.cancelc: return c.sendAlertLocked(alertCloseNotify) } // The QUICConn reads from signalc to notify us that the handshake may // be able to proceed. (The QUICConn reads, because we close signalc to // indicate that the handshake has completed.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 15.1K bytes - Viewed (0) -
src/crypto/tls/conn.go
// "predict" closeNotify alerts. c.rawInput.Grow(needs + bytes.MinRead) _, err := c.rawInput.ReadFrom(&atLeastReader{r, int64(needs)}) return err } // sendAlertLocked sends a TLS alert message. func (c *Conn) sendAlertLocked(err alert) error { if c.quic != nil { return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err}) } switch err { case alertNoRenegotiation, alertCloseNotify:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0)