Restconf: nonblocking constant and fixed an accept again loop error
This commit is contained in:
parent
3e2e4646f0
commit
6a64cf5ff1
1 changed files with 2 additions and 1 deletions
|
|
@ -1345,8 +1345,9 @@ openssl_init_socket(clicon_handle h,
|
|||
#ifdef RESTCONF_OPENSSL_NONBLOCKING
|
||||
SOCK_NONBLOCK, /* Also 0 is possible */
|
||||
#else /* blocking */
|
||||
&ss
|
||||
0,
|
||||
#endif
|
||||
&ss
|
||||
) < 0)
|
||||
goto done;
|
||||
if ((rh = restconf_handle_get(h)) == NULL){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue