mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 05:54:33 +04:00
nginx-util: fix ubus::~iterator() and minor issues
* Do not destroy the iterator twice if cur==this (segfault). * Do not add the delimiter clim=='\0' when creating the SSL directives. * Set the right SSL_SESSION_CACHE_ARG for nginx-util get_env. * Remove static from the constexpr that are used only for Line::build. * Concat strings instead of appending them for not using a non-const ref (to remove some warnings of clang-tidy -checks=google-runtime-references) Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
This commit is contained in:
@@ -91,7 +91,8 @@ void get_env()
|
||||
std::cout<<"LAN_LISTEN="<<"'"<<LAN_LISTEN<<"'"<<std::endl;
|
||||
#ifdef NGINX_OPENSSL
|
||||
std::cout<<"LAN_SSL_LISTEN="<<"'"<<LAN_SSL_LISTEN<<"'"<<std::endl;
|
||||
std::cout<<"SSL_SESSION_CACHE_ARG="<<"'"<<LAN_NAME<<"'"<<std::endl;
|
||||
std::cout<<"SSL_SESSION_CACHE_ARG="<<"'"<<SSL_SESSION_CACHE_ARG(LAN_NAME)<<
|
||||
"'"<<std::endl;
|
||||
std::cout<<"SSL_SESSION_TIMEOUT_ARG="<<"'"<<SSL_SESSION_TIMEOUT_ARG<<"'\n";
|
||||
std::cout<<"ADD_SSL_FCT="<<"'"<<ADD_SSL_FCT<<"'"<<std::endl;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user