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

at stream read/write wrap underlying error to returned error #92

Open
apmattil opened this issue Jul 6, 2021 · 0 comments
Open

at stream read/write wrap underlying error to returned error #92

apmattil opened this issue Jul 6, 2021 · 0 comments

Comments

@apmattil
Copy link

apmattil commented Jul 6, 2021

I need to recover from errors when connection is broken.
So there should be some way to check why the session was closed at client side.
e.g

[ERR] yamux: Failed to read header: read tcp 10.0.1.10:55190->10.0.3.20:443: read: connection timed out

now read() and write() just return io.EOF

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

1 participant