• Home
  • Raw
  • Download

Lines Matching refs:setErrorLocked

193 func (hc *halfConn) setErrorLocked(err error) error {  func
758 return c.in.setErrorLocked(errors.New("tls: buffered handshake messages on cipher change"))
799 c.in.setErrorLocked(err)
812 return 0, nil, c.in.setErrorLocked(errors.New("tls: unsupported SSLv2 handshake received"))
833 …return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: received record with version %x when expecting…
838 return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: oversized record received with length %d", n))
851 …return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: first record does not look like a TLS handshak…
859 c.in.setErrorLocked(err)
881 return 0, nil, c.in.setErrorLocked(c.sendAlert(alertValue))
888 return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: outer record type is not application data"))
895 return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: application data records were not split"))
913 return c.in.setErrorLocked(fmt.Errorf("tls: error reading TLS 1.3 ChangeCipherSpec: %s", err))
923 return c.in.setErrorLocked(fmt.Errorf("tls: error reading TLS 1.3 ChangeCipherSpec: %s", err))
932 …return c.in.setErrorLocked(fmt.Errorf("tls: error invalid TLS 1.3 ChangeCipherSpec: %x", b.data[:6…
953 return c.in.setErrorLocked(errors.New("tls: unknown record type requested"))
957 … return c.in.setErrorLocked(errors.New("tls: ChangeCipherSpec requested after handshake complete"))
982 return c.in.setErrorLocked(err)
989 return c.in.setErrorLocked(errors.New("tls: peer violated ExpectPackedEncryptedHandshake"))
994 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
998 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1002 c.in.setErrorLocked(io.EOF)
1020 c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
1022 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1027 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1031 c.in.setErrorLocked(errors.New("tls: buffered handshake messages on cipher change"))
1035 c.in.setErrorLocked(c.sendAlert(err.(alert)))
1040 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1051 return c.in.setErrorLocked(c.sendAlert(alertNoRenegotiation))
1081 return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
1315 return nil, c.in.setErrorLocked(c.sendAlert(alertInternalError))
1336 return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1402 return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1419 return nil, c.in.setErrorLocked(c.sendAlert(alertDecodeError))
1554 return n, c.out.setErrorLocked(err)
1561 return n + m, c.out.setErrorLocked(err)