Method SSL.sslport()->finished_callback()


Method finished_callback

void finished_callback(SSL.sslfile f, mixed|void id)

Description

SSL connection accept callback.

Parameter f

The SSL.sslfile that just finished negotiation.

This function is installed as the SSL.sslfile accept callback by ssl_callback(), and enqueues the newly negotiated SSL.sslfile on the accept_queue.

If there has been an accept_callback installed by bind() or listen_fd(), it will be called with all pending SSL.sslfiles on the accept_queue.

If there's no accept_callback, then the SSL.sslfile will have to be retrieved from the queue by calling accept().