Lines Matching refs:setErrorLocked
149 func (hc *halfConn) setErrorLocked(err error) error { func
638 c.in.setErrorLocked(err)
650 return 0, nil, c.in.setErrorLocked(errors.New("tls: unsupported SSLv2 handshake received"))
658 …return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: received record with version %x when expecting…
663 …return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: received record with version %x when expecting…
668 return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: oversized record received with length %d", n))
681 …return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: first record does not look like a TLS handshak…
689 c.in.setErrorLocked(err)
698 c.in.setErrorLocked(c.sendAlert(err))
714 return c.in.setErrorLocked(errors.New("tls: unknown record type requested"))
718 …return c.in.setErrorLocked(errors.New("tls: handshake or ChangeCipherSpec requested after handshak…
723 …return c.in.setErrorLocked(errors.New("tls: application data record requested before handshake com…
736 return c.in.setErrorLocked(err)
741 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
745 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
749 c.in.setErrorLocked(io.EOF)
758 c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
760 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
765 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
770 c.in.setErrorLocked(c.sendAlert(err.(alert)))
775 c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
788 return c.in.setErrorLocked(c.sendAlert(alertNoRenegotiation))
818 return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
937 return n, c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
960 return nil, c.in.setErrorLocked(c.sendAlert(alertInternalError))
1023 return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1032 return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
1133 return n, c.out.setErrorLocked(err)
1140 return n + m, c.out.setErrorLocked(err)