Add support for self-signed certificates

This commit is contained in:
Mickael Remond
2019-07-15 12:18:35 +02:00
committed by Mickaël Rémond
parent 79803a8af9
commit 9577036327
7 changed files with 56 additions and 18 deletions

View File

@@ -119,7 +119,7 @@ func (sm *StreamManager) connect() error {
var actualErr ConnError
if xerrors.As(err, &actualErr) {
if actualErr.Permanent {
return xerrors.Errorf("unrecoverable connect error %w", actualErr)
return xerrors.Errorf("unrecoverable connect error %#v", actualErr)
}
}
backoff.wait()