bmclib/internal
Jacob Weinstock d4ba0ef0f3 Use HTTP timeout for redfish:
In the gofish library all calls have to use the
same context that is only allowed to be defined
once with gofish.ConnectContext(). This means that
subsequent calls are bound to that context,
without the ability to modify it (the context field
in the APIClient is not exported and does not have a method to modify it).
This causes issues with "closing" a connection when a context
has timed out or been canceled. This call in redfish
is a call to the server to remove a session. This fixes orphaned
sessions that could lead to the max connections being
reached in the BMC and preventing future calls before the
timeout for these sessions is reached.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
2023-03-21 12:43:30 -06:00
..
helper Fix all linting errors: 2020-11-04 18:01:48 -07:00
httpclient Pass http.Client to providers in client 2022-04-22 13:16:09 -04:00
ipmi Don't error on ipmitool power off when machine is already off: 2022-02-17 10:54:34 -07:00
redfishwrapper Use HTTP timeout for redfish: 2023-03-21 12:43:30 -06:00
sshclient Handle ssh keyboard-interactive auth 2020-11-12 20:11:55 +01:00
utils.go internal/utils: purge unused methods 2022-07-26 11:01:51 +02:00