nginx-util: fix ubus::~iterator() and minor issues
authorPeter Stadler <redacted>
Mon, 20 Jan 2020 09:48:22 +0000 (10:48 +0100)
committerPeter Stadler <redacted>
Mon, 20 Jan 2020 14:13:23 +0000 (15:13 +0100)
commit5cd9d62f52422d946acbc1b5520e998079d79e90
treea794f128075629bef96ab5d8e49646bddc5b4fdb
parent9d8dbdd86ee8fe39469d7c5a25e61ceb4ae18acb
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 <redacted>
net/nginx-util/Makefile
net/nginx-util/src/CMakeLists.txt
net/nginx-util/src/nginx-ssl-util.cpp
net/nginx-util/src/nginx-util.cpp
net/nginx-util/src/px5g.cpp
net/nginx-util/src/ubus-cxx.hpp
git clone https://git.99rst.org/PROJECT