Secure socket errors - Factor Documentation (original) (raw)

Secure socket errors
Secure sockets (SSL, TLS)

Prev: Upgrading existing connections

Secure sockets can throw one of several errors in addition to the usual I/O errors:
premature-close-error ( -- * )
certificate-verify-error ( result -- * )
subject-name-verify-error ( expected got -- * )

The send-secure-handshake word can throw one of two errors:

upgrade-on-non-socket ( -- * )

upgrade-buffers-full ( -- * )