diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-11-29 15:48:48 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2021-12-01 15:14:24 +0100 |
commit | 772811e76ff82184864aff8e29f29df7f0d64c88 (patch) | |
tree | b1f2242c6773868b43b6b4d70eea74c80e571720 /src/rest.c | |
parent | a801e788e8f7cb3ee186e7b315ca61a949625bdc (diff) |
#1065 Add support for client events
ogServer supports events from clients in an agent mode
(linux/windows).
Client sends event information (eg. user login/logout)
via a 103 Early Hints http response message.
Diffstat (limited to 'src/rest.c')
-rw-r--r-- | src/rest.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -126,8 +126,12 @@ static const char *og_client_status(const struct og_client *cli) return "VDI"; case OG_CLIENT_STATUS_LINUX: return "LINUX"; + case OG_CLIENT_STATUS_LINUX_SESSION: + return "LINUX-SESSION"; case OG_CLIENT_STATUS_WIN: return "WIN"; + case OG_CLIENT_STATUS_WIN_SESSION: + return "WIN-SESSION"; default: return "OFF"; } |