micropython / micropython/micropython
Timeout support for websocket/webrepl
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C
- Stars
- 22.1k
- Forks
- 9k
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 16
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebREPL websocket construction and its BLOCKING_WRITE behavior, then review the linked discussion for the expected timeout semantics. Done means websocket writes no longer hang indefinitely and the timeout behavior is covered by the relevant existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- embedded-iot, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100