summaryrefslogtreecommitdiff
path: root/net/nginx-util/src/px5g.cpp
diff options
context:
space:
mode:
authorPeter Stadler <peter.stadler@student.uibk.ac.at>2020-01-20 10:48:22 +0100
committerPeter Stadler <peter.stadler@student.uibk.ac.at>2020-01-20 15:13:23 +0100
commit5cd9d62f52422d946acbc1b5520e998079d79e90 (patch)
treea794f128075629bef96ab5d8e49646bddc5b4fdb /net/nginx-util/src/px5g.cpp
parent9d8dbdd86ee8fe39469d7c5a25e61ceb4ae18acb (diff)
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>
Diffstat (limited to 'net/nginx-util/src/px5g.cpp')
-rw-r--r--net/nginx-util/src/px5g.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nginx-util/src/px5g.cpp b/net/nginx-util/src/px5g.cpp
index 56a063254..5ad13357b 100644
--- a/net/nginx-util/src/px5g.cpp
+++ b/net/nginx-util/src/px5g.cpp
@@ -1,9 +1,9 @@
+#include "px5g-openssl.hpp"
#include <array>
#include <iostream>
#include <string>
#include <string_view>
#include <unistd.h>
-#include "px5g-openssl.hpp"
class argv_view { // TODO(pst): use std::span when available.