Extracted from Pike v7.6 release 13 at 2004-11-30.
pike.ida.liu.se
[Top]
SSL
SSL.sslfile

Method SSL.sslfile()->set_close_callback()


Method set_close_callback

void set_close_callback(function(void|mixed:int) close)

Description

Install a function to be called when the connection is closed.

It will only be called if the connection is closed cleanly with the proper messages. Any other way of closing the it is considered an error to avoid truncation attacks.