Skip to content
This repository was archived by the owner on Oct 2, 2022. It is now read-only.

Commit 78caf7d

Browse files
author
Janos Pasztor
committed
Release notes
1 parent 1e6a152 commit 78caf7d

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.9.4: Authentication retry
4+
5+
This release adds retries to the authentication process. This allows ContainerSSH to retry requests that lead to a non-200 status code.
6+
37
## 0.9.3: Bumped HTTP dependency
48

59
Bumped [http](https://github.com/containerssh/http) dependency to 0.9.2.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ client := auth.NewHttpAuthClient(
9292
URL: "http://localhost:8080"
9393
Password: true,
9494
PubKey: false,
95+
// This is the timeout for individual requests.
96+
Timeout: 2 * time.Second,
97+
// This is the overall timeout for the authentication process.
98+
AuthTimeout: 60 * time.Second,
9599
},
96100
logger,
97101
)

0 commit comments

Comments
 (0)