* 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
|
|
@ -886,6 +886,9 @@ main(int argc,
|
|||
if (check_drop_priv(h, gid) < 0)
|
||||
goto done;
|
||||
|
||||
/* Start session-id for clients */
|
||||
clicon_session_id_set(h, 0);
|
||||
|
||||
if (stream_timer_setup(0, h) < 0)
|
||||
goto done;
|
||||
if (event_loop() < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue