]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Report GP session lifetime
authorDan Lenski <dlenski@gmail.com>
Sat, 25 May 2019 05:41:19 +0000 (22:41 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 9 Jun 2019 23:51:05 +0000 (00:51 +0100)
commitaf93f7fe5827ab0f1d2e75d04b1e568d8bf82a5a
tree6381da2f58d288e3108b176829e3b40321da9f0c
parentcc1f9a97d21c67fe2157d7299ee77573758170a0
Report GP session lifetime

OpenConnect doesn't have a mechanism to immediately stop trying to reconnect
after the session expires.

Server-forced session expiration "takes care of itself" when OpenConnect
tries to reconnect repeatedly and fails, though it might be useful to save
the expected expiration time somewhere to be able to report it in a more
user-friendly fashion.

Signed-off-by: Dan Lenski <dlenski@gmail.com>
gpst.c