-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connector/local: add single byte auth response
Problem: local connector drops the connection abrubtly when authentication fails, causing EPIPE error on client send. This error is not particularly helpful for the user. Add a single byte authentication result to the local wire protocol. Return 0 on success or errno on auth failure, so the client send will get a sensible error such as EPERM.
- Loading branch information
Showing
2 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters