]> git.proxmox.com Git - pve-xtermjs.git/commit
accept/auth: count timeout over whole loop
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 2 Feb 2021 11:53:09 +0000 (12:53 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 2 Feb 2021 12:08:15 +0000 (13:08 +0100)
commit41f32a28d977682e4166cc499fb578cbe4303226
treea90db796931d4964f7337d0f0d73ffc6a882a812
parent7739b7e8b6b1399d8436bb3c59f66ea300678d54
accept/auth: count timeout over whole loop

instead of just poll. the manual tracking of elapsed across loop
iterations is to avoid underflows - can be replaced with a
saturating_sub call once that becomes stable.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/main.rs