Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels