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

SCTP Streams have no SetReadDeadline #240

Closed
nerd2 opened this issue Oct 15, 2022 · 0 comments · Fixed by #241
Closed

SCTP Streams have no SetReadDeadline #240

nerd2 opened this issue Oct 15, 2022 · 0 comments · Fixed by #241

Comments

@nerd2
Copy link

nerd2 commented Oct 15, 2022

Summary

SCTP Streams have no SetReadDeadline and so timeouts cannot be implemented

Motivation

Most connections (net.Conn, net.PacketConn) in Go allow "SetReadDeadline" so a read timeout can be implemented by the caller.

Describe alternatives you've considered

Application can reimplement using a separate receive goroutine and channels, but it would be nice to support this in the library

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 a pull request may close this issue.

1 participant