* Changed signal handling

* Moved clixon-proc sigchild handling	from handler to clixon_events
This commit is contained in:
Olof hagsand 2021-03-11 11:18:57 +01:00
parent dea3962cc0
commit 7762b10cbb
16 changed files with 268 additions and 126 deletions

View file

@ -463,7 +463,7 @@ api_stream(clicon_handle h,
/* Poll upstream errors */
stream_timeout(0, req);
/* Start loop */
clixon_event_loop();
clixon_event_loop(h);
close(s);
clixon_event_unreg_fd(s, restconf_stream_cb);
clixon_event_unreg_fd(rfcgi->listen_sock,