proxmox-backup/src/server
Dominik Csapak 6864fd0149 server/worker_task: improve newline handling in upid_read_status
improves upid_read_status with:
* ignore multiple newlines at the end
* remove all code that could panic (array index access)
  the one place where we access with '[pos+1..]' is ok since
  we explicitely test the len of the vector, this is done to
  let rust optimize away the range checks, so it cannot panic

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-01-26 10:48:15 +01:00
..
command_socket.rs clippy: use strip_prefix instead of manual stripping 2021-01-20 16:22:59 +01:00
config.rs clippy: fix/allow needless_range_loop 2021-01-20 16:23:54 +01:00
email_notifications.rs clippy: pass &str/&[..] instead of &String/&Vec 2021-01-20 16:23:54 +01:00
environment.rs clippy: remove unnecessary clones 2021-01-20 16:22:59 +01:00
formatter.rs depend on proxmox 0.1.31 - use Value to store result metadata 2020-05-18 09:57:35 +02:00
gc_job.rs clippy: convert single match to if let 2021-01-20 16:23:54 +01:00
h2service.rs allow complex Futures in tower_service impl 2021-01-26 09:53:55 +01:00
jobstate.rs clippy: convert single match to if let 2021-01-20 16:23:54 +01:00
prune_job.rs remove BackupGroup::list_groups 2020-12-01 06:09:44 +01:00
report.rs report: type-alias function call tuple 2021-01-26 09:53:43 +01:00
rest.rs allow complex Futures in tower_service impl 2021-01-26 09:53:55 +01:00
state.rs followup: server/state: rename task_count to internal_task_count 2020-07-24 12:11:39 +02:00
ticket.rs clippy: use strip_prefix instead of manual stripping 2021-01-20 16:22:59 +01:00
upid.rs replace Userid with Authid 2020-10-29 15:11:39 +01:00
verify_job.rs verify: factor out common parameters 2021-01-26 09:54:49 +01:00
worker_task.rs server/worker_task: improve newline handling in upid_read_status 2021-01-26 10:48:15 +01:00