Restconf callhome: idle-timeout activity timer

This commit is contained in:
Olof hagsand 2022-09-14 10:43:34 +02:00
parent c1e4595949
commit 76c1566d00
4 changed files with 84 additions and 34 deletions

View file

@ -119,6 +119,8 @@ typedef struct restconf_conn {
nghttp2_session *rc_ngsession; /* XXX Not sure it is needed */
#endif
restconf_socket *rc_socket; /* Backpointer to restconf_socket needed for callhome */
struct timeval rc_t; /* Timestamp of last read/write activity, used by callhome
idle-timeout algorithm */
} restconf_conn;
/* Restconf per socket handle