Description
tried circuitpython 8 beta 1/2/3 but the HTTPServer is not usable on pico w.
minimal examples like all three from this very lib: https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer/tree/main/examples
are not repsonding to simple browser or curl requests
ERR_CONNECTION_REFUSED (like about every 50. request does in fact get a response)
then i read this, and he is absolutly right: #14 (comment)
replacing the .mpy to source .py and changing L:334 to
self._sock.setblocking(True)
will make the HTTPServer respond every time
not sure if this is related to this issue: #9 which does belong to this MR: bcabd1d which originally does change this very line to the opposite that makes the lib work for me and @justbuchanan.
sadly this is not a real solution, since it is now waiting/blocking to a incoming request and no other magic can happen while waiting :-(