iya-sts
    Preparing search index...

    Class export=

    Index
    • How many failed connections server is holding now.

      Parameters

      • server: any

        a server install() was given

      Returns number

      the count, 0 for a server it was not given

    • Holds each connection that fails at the TLS layer on server open for a moment before it is closed, so its alert reaches the peer.

      Parameters

      • server: any

        a TLS server (node's https or http2 secure server); any other server is left alone

      • label: string

        the listener, for the log

      • Optionaloptions: { delayMs?: number; maxHeld?: number }

        delayMs and maxHeld, for the tests; the defaults are this file's constants

      Returns boolean

      true when it is installed (or already was)

    • Whether err is a failure of this end's TLS engine, which has an alert to send: an OpenSSL error that is not the peer's own alert.

      Parameters

      • err: any

        what the socket reported

      Returns boolean

      true for such a failure