Fixed: RESTCONF: some client cert failure leads to restconf exit
Instead close and continue
This commit is contained in:
parent
f8324df917
commit
c56d5aa44e
2 changed files with 6 additions and 2 deletions
|
|
@ -85,6 +85,8 @@ Developers may need to change their code
|
||||||
|
|
||||||
### Corrected Bugs
|
### Corrected Bugs
|
||||||
|
|
||||||
|
* Fixed: RESTCONF: some client cert failure leads to restconf exit. Instead close and continue
|
||||||
|
|
||||||
## 6.1.0
|
## 6.1.0
|
||||||
19 Feb 2023
|
19 Feb 2023
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1408,11 +1408,13 @@ restconf_ssl_accept_client(clicon_handle h,
|
||||||
case HTTP_2:{
|
case HTTP_2:{
|
||||||
if (http2_session_init(rc) < 0){
|
if (http2_session_init(rc) < 0){
|
||||||
restconf_close_ssl_socket(rc, __FUNCTION__, 0);
|
restconf_close_ssl_socket(rc, __FUNCTION__, 0);
|
||||||
goto done;
|
clicon_err_reset();
|
||||||
|
goto closed;
|
||||||
}
|
}
|
||||||
if (http2_send_server_connection(rc) < 0){
|
if (http2_send_server_connection(rc) < 0){
|
||||||
restconf_close_ssl_socket(rc, __FUNCTION__, 0);
|
restconf_close_ssl_socket(rc, __FUNCTION__, 0);
|
||||||
goto done;
|
clicon_err_reset();
|
||||||
|
goto closed;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue