Refactoring of RESTCONF/TLS close code
Single closing function: restconf_close_ssl_socket Added constant HTTP_ON_HTTPS_REPLY for http request on https socket
This commit is contained in:
parent
e39d18d59f
commit
c1e4595949
11 changed files with 354 additions and 272 deletions
|
|
@ -78,7 +78,7 @@ enum clicon_err{
|
|||
OE_FATAL, /* Fatal error */
|
||||
OE_UNDEF,
|
||||
/*-- From here error extensions using clixon_err_cat_reg, XXX register dynamically? --*/
|
||||
OE_SSL, /* Openssl errors, see eg ssl_get_error */
|
||||
OE_SSL, /* Openssl errors, see eg ssl_get_error and clixon_openssl_log_cb */
|
||||
OE_SNMP , /* Netsnmp error */
|
||||
OE_NGHTTP2, /* nghttp2 errors, see HAVE_LIBNGHTTP2 */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue