Closed
Description
In the request method, while attempting to send a request, only _SendFailed
exceptions are caught and all others (such as a Failed SSL handshake
, which may occur after too much time has elapsed between requests) are ignored. This then leads to recv
or recv_into
being run on an invalid connection, resulting in an exception and potentially a socket leak.
This was discovered while debugging adafruit/circuitpython#4061, but does not wholly fix the issue as the code will then run into issue #66. May be related to #63.
Metadata
Metadata
Assignees
Labels
No labels