* Internal backend socket protocol changed: uint32_t session-id added, see clixon_proto.h
* * Changed session-id handing. Instead of using pid of peer process, a proper session id generated by the server is used, following RFC6241.
This commit is contained in:
parent
a387c599e2
commit
b624e911b8
23 changed files with 230 additions and 155 deletions
|
|
@ -51,8 +51,8 @@
|
|||
*/
|
||||
/* Struct per database in hash */
|
||||
typedef struct {
|
||||
int de_pid;
|
||||
cxobj *de_xml; /* cache */
|
||||
uint32_t de_id; /* session id */
|
||||
cxobj *de_xml; /* cache */
|
||||
} db_elmnt;
|
||||
|
||||
/*
|
||||
|
|
@ -98,4 +98,7 @@ int clicon_xml_changelog_set(clicon_handle h, cxobj *xchlog);
|
|||
int clicon_argv_get(clicon_handle h, int *argc, char ***argv);
|
||||
int clicon_argv_set(clicon_handle h, char *argv0, int argc, char **argv);
|
||||
|
||||
int clicon_session_id_set(clicon_handle h, uint32_t id);
|
||||
uint32_t clicon_session_id_get(clicon_handle h);
|
||||
|
||||
#endif /* _CLIXON_DATA_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue