socket timeout behavior change in v1.20 #11821
Unanswered
manix
asked this question in
RP2040 / Pico
Replies: 1 comment
-
I haven't a pico, but usually I do this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this bit of code that used to work with
rp2-pico-w-20220926-unstable-v1.19.1-451-gbdbc44474
:The way this code used to work was it froze for a second waiting for incoming data, if there was none then it timed out and went ahead to process other things and then repeated.
I have just updated to
rp2-pico-w-20230426-v1.20.0
and it goes into the while loop, reads the first incoming websocket messages but after it times out subsequent loops no longer read but rather instantly throwOSError -110
.How can I resume the old behavior?
Beta Was this translation helpful? Give feedback.
All reactions