Skip to content

Conversation

pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Nov 3, 2017

Poll socket is what's passed to uselect.poll(), while I/O socket is what's
used for .read(). This is a workaround of the issue that MicroPython doesn't
support proxying poll functionality for stream wrappers (like SSL, websocket,
etc.)
This issue is tracked as micropython/micropython#3394

It may be that it's more efficient to apply such a workaround on uasyncio
level rather than implementing full solution of uPy side.

Poll socket is what's passed to uselect.poll(), while I/O socket is what's
used for .read(). This is a workaround of the issue that MicroPython doesn't
support proxying poll functionality for stream wrappers (like SSL, websocket,
etc.)
This issue is tracked as micropython/micropython#3394

It may be that it's more efficient to apply such a workaround on uasyncio
level rather than implementing full solution of uPy side.
@pfalcon
Copy link
Contributor Author

pfalcon commented Nov 5, 2017

Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant