diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-09-24 10:25:00 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-10-07 13:55:20 -0400 |
commit | caa9a2f2a511689080d019ffab61a4de5787d8be (patch) | |
tree | bf6fdc482b08aef1a8d63e1e7889e267ae5cbe4a /sos.spec | |
parent | 11cc6f478a9b41ce81b5b74faab5ca42930262ee (diff) | |
download | sos-caa9a2f2a511689080d019ffab61a4de5787d8be.tar.gz |
[policy] Handle additional failure conditions for FTP uploads
Adds a timeout and a timeout handler for FTP connections, rather than
letting the connection attempt continue indefinitely.
Second, adds exception handling for an edge case where the connection to
the FTP server fails, but does not generate an exception from the ftplib
module.
Additionally, correct the type-ing of the error numbers being checked so
that we actually match them.
Resolves: #2245
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'sos.spec')
0 files changed, 0 insertions, 0 deletions