We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba2da43 + cee7f22 commit f9345f2Copy full SHA for f9345f2
1 file changed
adafruit_httpserver.py
@@ -342,6 +342,7 @@ def poll(self):
342
try:
343
conn, _ = self._sock.accept()
344
with conn:
345
+ conn.setblocking(True)
346
length, _ = conn.recvfrom_into(self._buffer)
347
348
request = _HTTPRequest(raw_request=self._buffer[:length])
0 commit comments