Is _backwards_compatible_sock flag still needed? In MQTT._sock_exact_recv there is this code:
if not self._backwards_compatible_sock:
# CPython/Socketpool Impl.
...
else: # ESP32SPI Impl.
# This will timeout with socket timeout (not keepalive timeout)
...
This flag is set by:
self._backwards_compatible_sock = not hasattr(sock, "recv_into")
Is
_backwards_compatible_sock
flag still needed? InMQTT._sock_exact_recv
there is this code:This flag is set by:
here
Yet at this point both the ESP32SPI library and WIZNET5k library have
recv_into
.The FONA library is the only one I see that doesn't