crypto/tls.halfConn.setErrorLocked (method)
34 uses
crypto/tls (current package)
conn.go#L181: func (hc *halfConn) setErrorLocked(err error) error {
conn.go#L600: return c.in.setErrorLocked(errors.New("tls: internal error: attempted to read record with pending application data"))
conn.go#L613: c.in.setErrorLocked(err)
conn.go#L626: return c.in.setErrorLocked(c.newRecordHeaderError(nil, "unsupported SSLv2 handshake received"))
conn.go#L634: return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
conn.go#L642: return c.in.setErrorLocked(c.newRecordHeaderError(c.conn, "first record does not look like a TLS handshake"))
conn.go#L648: return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
conn.go#L652: c.in.setErrorLocked(err)
conn.go#L661: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L664: return c.in.setErrorLocked(c.sendAlert(alertRecordOverflow))
conn.go#L669: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L679: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L684: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L688: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L691: return c.in.setErrorLocked(io.EOF)
conn.go#L694: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L701: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L703: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L708: return c.in.setErrorLocked(c.sendAlert(alertDecodeError))
conn.go#L712: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L723: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L726: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L731: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L745: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L759: return c.in.setErrorLocked(errors.New("tls: too many ignored records"))
conn.go#L818: return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
conn.go#L1017: return nil, c.in.setErrorLocked(fmt.Errorf("tls: handshake message of length %d bytes exceeds maximum of %d bytes", n, maxHandshake))
conn.go#L1074: return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L1083: return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L1144: return n, c.out.setErrorLocked(err)
conn.go#L1151: return n + m, c.out.setErrorLocked(err)
conn.go#L1214: return c.in.setErrorLocked(errors.New("tls: too many non-advancing records"))
conn.go#L1231: return c.in.setErrorLocked(c.sendAlert(alertInternalError))
conn.go#L1245: c.out.setErrorLocked(err)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |