← index #10508Issue #2410
Related · high · value 0.441
QUERY · ISSUE

Timeout support for websocket/webrepl

openby jimmoopened 2023-01-16updated 2024-09-12
enhancement

Reported here: https://github.com/orgs/micropython/discussions/10444

Webrepl constructs a websocket with BLOCKING_WRITE set. There's no timeout, so prints can hang.

CANDIDATE · ISSUE

More fully featured websockets

closedby danniopened 2016-09-11updated 2024-09-08
enhancementextmod

The websocket and websocket_helper included with the ESP8266 is a bit weird to use and doesn't work as a client with most servers it seems. Would it be useful to include a more versatile implementation of websockets? I have a pure-python implementation of the client that looks like the websockets module that could (a) expand to include the server handshake, (b) support the webrepl, and (c) be ported to C if needed (not sure it is, it should express quite well in Python).

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied