proxmox-backup/src/tools
Dominik Csapak 0417e9af1b tools/async_io: do not error on Accept for StaticIncoming
in proxmox-backup-proxy, we log and discard any errors on 'accept',
so that we can continue to server requests

in proxmox-backup-api, we just have the StaticIncoming that accepts,
which will forward any errors from the underlying TcpListener

this patch also logs and discards the errors, like in the proxy.
Otherwise it could happen that if the api-daemon has more files open
than the proxy, it will shut itself down because of a
'too many open files' error if there are many open connections

(the service should also restart on exit i think, but this is
a separate issue)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-04-12 15:43:13 +02:00
..
disks fix gathering io stats for zpools 2021-04-12 13:35:38 +02:00
systemd tools/systemd/time: implement some Traits for TimeSpan 2021-03-19 07:00:55 +01:00
acl.rs clippy: rewrite comparison chains 2021-01-25 11:41:39 +01:00
apt.rs clippy: remove explicit returns 2021-01-20 16:23:54 +01:00
async_channel_writer.rs cleanup: remove unnecessary 'mut' and '.clone()' 2021-01-14 16:01:33 +01:00
async_io.rs tools/async_io: do not error on Accept for StaticIncoming 2021-04-12 15:43:13 +02:00
borrow.rs tools: borrow: implement Deref for Tied 2019-02-13 11:03:09 +01:00
broadcast_future.rs broadcast_future: refactor broadcast/future binding 2021-01-26 09:53:48 +01:00
cert.rs refactor CertInfo to tools 2020-07-10 11:08:53 +02:00
compression.rs tools/compression: add DeflateEncoder and helpers 2021-04-07 12:34:31 +02:00
cpio.rs add tools/cpio encoding module 2021-04-08 14:10:45 +02:00
daemon.rs tokio 1.0: delay -> sleep 2021-01-14 16:01:33 +01:00
disks.rs clippy: convert single match to if let 2021-01-20 16:23:54 +01:00
file_logger.rs file logger: remove test.log after test as well 2020-11-30 14:13:21 +01:00
format.rs clippy: misc. fixes 2021-01-20 16:23:54 +01:00
fs.rs backup: use shared flock for base snapshot 2020-10-15 07:09:34 +02:00
fuse_loop.rs clippy: convert single match to if let 2021-01-20 16:23:54 +01:00
http.rs HttpsConnector: use hostname instead of URL again 2021-02-03 15:18:18 +01:00
json.rs clippy: misc. fixes 2021-01-20 16:23:54 +01:00
logrotate.rs clippy: fix/allow identity_op 2021-01-20 16:23:54 +01:00
loopdev.rs loopdev: add module doc 2020-10-08 08:34:39 +02:00
lru_cache.rs typo fixes all over the place 2021-03-10 16:39:57 +01:00
nom.rs fix typo 2020-06-26 09:12:29 +02:00
paperkey.rs paperkey: rustfmt 2021-02-01 17:05:40 +01:00
parallel_handler.rs typo fixes all over the place 2021-03-10 16:39:57 +01:00
process_locker.rs tools/process_locker: Decrement writer count in drop handler 2020-12-18 07:15:08 +01:00
runtime.rs clippy: remove unnecessary clones 2021-01-20 16:22:59 +01:00
serde_filter.rs add tools::serde_filter submodule 2021-01-11 10:22:32 +01:00
sgutils2.rs sgutils2: use thiserror to derive Error 2021-04-12 13:27:34 +02:00
socket.rs tools: socket: fix typo in comment 2020-10-28 21:26:11 +01:00
statistics.rs statistics: covariance(): avoid allocation 2020-06-09 13:57:27 +02:00
std_channel_writer.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
subscription.rs tools/subscription: ignore ENOENT for apt auth config removal 2021-03-17 20:12:58 +01:00
systemd.rs add test for escape_unit 2020-10-21 11:31:24 +02:00
ticket.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
tokio_writer_adapter.rs fix #3359: fix blocking writes in async code during pxar create 2021-03-24 09:00:07 +01:00
wrapped_reader_stream.rs tokio 1.0: AsyncRead/Seek with ReadBuf 2021-01-14 16:01:33 +01:00
xattr.rs tools/xattr: a char from C is not universally a rust i8 2020-07-19 19:46:27 +02:00
zip.rs tools/zip: add zip_directory helper 2021-04-08 14:32:03 +02:00