circuitpython/ports/espressif/common-hal/ssl
Jeff Epler 7583ccad2a
Ensure orderly shutdown of ssl socket
A crash would occur if an SSL socket was not shut down before
`gc_deinit()`.

I do not fully understand the root cause, but some object deinitialization
/ deallocation prior to `gc_deinit` leaves the SSL object in an
inconsistent state.

Rather than resolve the root cause, instead ensure that the closing of
the user socket also closes the SSL socket.

Closes: #6502
2022-12-01 19:29:20 -06:00
..
SSLContext.c Ensure orderly shutdown of ssl socket 2022-12-01 19:29:20 -06:00
SSLContext.h rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
SSLSocket.c Update espressif function prototype to match 2022-10-05 14:56:25 -05:00
SSLSocket.h Ensure orderly shutdown of ssl socket 2022-12-01 19:29:20 -06:00
__init__.c Enable -Werror=missing-prototypes on espressif port 2021-11-10 11:07:45 -06:00
__init__.h rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30