Skip to content

Supported socket timeout #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Himura2la
Copy link

@Himura2la Himura2la commented Nov 23, 2017

I really need timeout, please merge.

I'm not sure that the behavior does not change, but maybe it's a good idea to set the default timeout to a kind of 30 seconds

@Himura2la
Copy link
Author

@pfalcon ping

@Himura2la Himura2la changed the title Supported connection timeout Supported socket timeout Dec 20, 2017
@dpgeorge
Copy link
Member

Not all MicroPython ports support socket.settimeout (notably the unix port). So this won't work.

@Himura2la
Copy link
Author

Maybe we can reflect this in docs/comments? I'll change the code so that the .settimeout invokes only if the value is passed. It's better to allow this at least on some platforms rather than force the lib's modifications, isn't it?

@Himura2la
Copy link
Author

Himura2la commented May 3, 2018

@dpgeorge, Hey, what's the status?

@NJannasch
Copy link

push

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.

3 participants