You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTPServer stops working on CircuitPython version >= 9.0
Around line 207 in server.py it is assumed that sock.setsockopt(socket_source.SOL_SOCKET, socket_source.SO_REUSEADDR, 1) would work as of CircuitPython version 9.0. Unfortunately it doesn't and raises an OSError: [Errno 95] EOPNOTSUPP.
Perhaps better in the circuitpython implementations to just try to set SO_REUSEADDR and catch + ignore the error.
The text was updated successfully, but these errors were encountered:
HTTPServer stops working on CircuitPython version >= 9.0
Around line 207 in server.py it is assumed that
sock.setsockopt(socket_source.SOL_SOCKET, socket_source.SO_REUSEADDR, 1)
would work as of CircuitPython version 9.0. Unfortunately it doesn't and raises anOSError: [Errno 95] EOPNOTSUPP
.Perhaps better in the circuitpython implementations to just try to set SO_REUSEADDR and catch + ignore the error.
The text was updated successfully, but these errors were encountered: