You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uselect: Issues with polling stream wrappers #3394
Currently, uselect module accepts only stream which directly implement MP_STREAM_POLL (baremetal ports) or just exact file and socket streams (unix port). However, these streams can be wrapped in (any number of) other streams, e.g. a socket in websocket in SSL, and such wrapped streams don't work with uselect.
Solving this on MicroPython level requires a bit of legwork (and associated code), especially given that there're different variants of solution for baremetal vs unix. So, given that uasyncio is the only known component affected, my plan is to try to work it around on its level.
But sooner or later it may affect other users too.
Support for polling ussl objects on bare-metal (axtls and mbedtls versions) was added in 7a67f05 by passing through the ioctl request to the underlying socket object.
Support for polling general objects on unix (including ussl) was implemented in ef554ef
Activity
pfalcon commentedon Nov 3, 2017
Workaround on uasyncio side: micropython/micropython-lib#227
dpgeorge commentedon Jul 20, 2018
Support for polling ussl objects on bare-metal (axtls and mbedtls versions) was added in 7a67f05 by passing through the ioctl request to the underlying socket object.
Support for polling general objects on unix (including ussl) was implemented in ef554ef