forked from oVirt/ovirt-imageio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http: Configurable inactivity timeout
We used 60 seconds timeout for disconnecting inactive clients. This is too long to protect from bad clients leaving open connections, and too short for applications that need long timeout[1]. Change the default timeout to 15 seconds, configurable via daemon:auth_timeout. This timeout is used for new unauthorized connections. If a connection does not authorize within this timeout, it is disconnected. When a connection is authorized during the first request, the connection timeout is increased to ticket.inactivity_timeout. The default value is 60 seconds, configurable via daemon:inactivity_timeout. Application with special needs can request a larger timeout when creating an image transfer. Engine need to include the transfer inactivity timeout in the ticket. [1] https://bugzilla.redhat.com/2032324 Fixes oVirt#14. Signed-off-by: Nir Soffer <nsoffer@redhat.com>
- Loading branch information
Showing
10 changed files
with
172 additions
and
101 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
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
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.