Skip to content
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

Read/write timeout #3

Closed
antonshkurenko opened this issue Sep 28, 2020 · 2 comments
Closed

Read/write timeout #3

antonshkurenko opened this issue Sep 28, 2020 · 2 comments

Comments

@antonshkurenko
Copy link

Hi, trying to use your library, can't understand how to add read/write timeout, because in blocking mode it blocks infinitely

@tormol
Copy link
Owner

tormol commented Oct 11, 2020

I assume this is with the seqpacket types and not the extension traits for stream and datagram sockets?
I hadn't thought about timeouts! I'll add it some point. (as well as take_error() and peek() which I see are also missing.)

tormol added a commit that referenced this issue Oct 25, 2020
std and mio doesn't support timeouts for listeners,
but add them because I can and it appears to work.

Closes #3
tormol added a commit that referenced this issue Oct 27, 2020
std and mio doesn't support timeouts for listeners,
but add them because I can and it appears to work.

Closes #3
tormol added a commit that referenced this issue Nov 5, 2020
std and mio doesn't support timeouts for listeners,
but add them because I can and it appears to work.

Closes #3
tormol added a commit that referenced this issue Nov 11, 2020
std and mio doesn't support timeouts for listeners,
but add them because I can and it appears to work.

Closes #3
@tormol tormol closed this as completed in 332e1ff Nov 14, 2020
@tormol
Copy link
Owner

tormol commented Nov 15, 2020

After many rounds of testing (mostly adapting tests to different operating systems), timeout methods have been released in 0.2.1.

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

No branches or pull requests

2 participants