diff options
author | Eric Poulsen <eric@zyxod.com> | 2017-10-26 21:17:35 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-10-30 15:25:32 +1100 |
commit | 74ec52d85758ad9da7a3abb24257511b22d74964 (patch) | |
tree | 82f9cf6249d74aa5b06fa9fb6f1242038db25104 /docs/esp8266/tutorial/intro.rst | |
parent | 05a2bb888f9cd3dc3e005b8eea4258e20a39cba2 (diff) |
extmod/modussl: Add finaliser support for ussl objects.
Per the comment found here
https://github.com/micropython/micropython-esp32/issues/209#issuecomment-339855157,
this patch adds finaliser code to prevent memory leaks from ussl objects,
which is especially useful when memory for a ussl context is allocated
outside the uPy heap. This patch is in-line with the finaliser code found
in many modsocket implementations for various ports.
This feature is configured via MICROPY_PY_USSL_FINALISER and is disabled by
default because there may be issues using it when the ussl state *is*
allocated on the uPy heap, rather than externally.
Diffstat (limited to 'docs/esp8266/tutorial/intro.rst')
0 files changed, 0 insertions, 0 deletions