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

Fix/vpn server client close logs #1325

Merged
merged 8 commits into from
Aug 8, 2022
Merged

Fix/vpn server client close logs #1325

merged 8 commits into from
Aug 8, 2022

Conversation

ersonp
Copy link
Contributor

@ersonp ersonp commented Jul 28, 2022

Did you run make format && make check?
yes

Fixes #1301

Changes:

  • Ignored errors if the read error is EOF or file already closed

How to test this PR:

  1. Start vpn-server on visor A
  2. From visor B connect to the vpn-server of visor A
  3. Disconnect after a successful connection
  4. Check server logs

ersonp added 8 commits July 13, 2022 15:37
This commit fixes the warn error on Read on a closed connection by checking if the error is EOF.

If it is then we do not print the error as EOF signals gracefull end of Read.
@jdknives jdknives merged commit b4c30b7 into skycoin:develop Aug 8, 2022
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.

2 participants