forked from grpc/grpc-go
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handshaker component, part 3: Handshaker newConn impl and tests (#42)
* created documents for handshaker * added starter code * removed HS test, added skeleton * fixed merge conflicts * fixed PR issues, changed comments, implemented new methods * added unit tests for handshaker.go, added testutil * fixed comments to handshaker, fixed pr issues * fixed handshaker_test pr issues. * removed testutil, added fakeconn * fixed misspellings, pr issues. * fixed comments, pr issues * fixed pr issues, comments * started impl methods * updated comments to match part 1 * synced new code with merged * fixed comments, pr issues for handshaker * added tests for client/server handshaker * added tests to handshaker_test * added comments, fixed PeerNotRespondingError test * changed frameLimit, added tests * some pr issues resolved * added error checks * added fake s2a, fixed comments, names * fixed comments, refactored variables, fixed pr issues * fixed test variables * added authinfo check, fixed pr issues * added LocalCertFingerprint and PeerCertFingerprint checks * added newConn impl and tests to handshaker * removed grpc from import * fixed comments, pr issues * fixed merge conflict * fixed comments, pr issues * rearranged functions, changed tests, fixed pr issues * fixed formatting in record * fixed pr issues, comments * added descriptions to exported fields * added hsaddr to s2ahandshaker struct and new * fixed pr issues
- Loading branch information
Showing
4 changed files
with
134 additions
and
90 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
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
Oops, something went wrong.