Developer

API Reference

ISSL_Close()

Brew Release
Brew MP 1.0.2
Description
This function closes the SSL session.
Parameters
  • pISSL
    []:
    The Interface pointer
  • pinfo
    []:
    Place to put the response structure
  • pcb
    []:
    Place to call back when SSL, succeeds, fails or needs help
Interface
Prototype
    void ISSL_Close(ISSL *pISSL, SSLInfo *pinfo, AEECallback *pcb);
Return
nReturn in SSLInfo indicates the success of the closure
Side Effect
None
Comment
ISSL_Close() makes one attempt to send the close notify alert to the server.
Closure in SSL tends to differ in practice from the documented standard. The standard requires a complete exchange of close alerts. In practice the secure closure is achieved by the exchange of protocol messages that are part of the protocol secured, not SSL. This is true of HTTP. Basically it is not that important for complete closure, thus the implementation here simply attempts to send the close notify and not the full close handshake.
  • Follow