diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 21:14:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 21:14:51 +0000 |
commit | bc282425088455198a7a99511c75914477d4ed32 (patch) | |
tree | 1b1fb887a634136a093deea7e4dd95d054201e7a /dnsdist-lua-ffi.hh | |
parent | Releasing progress-linux version 1.8.3-3~progress7.99u1. (diff) | |
download | dnsdist-bc282425088455198a7a99511c75914477d4ed32.tar.xz dnsdist-bc282425088455198a7a99511c75914477d4ed32.zip |
Merging upstream version 1.9.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dnsdist-lua-ffi.hh')
-rw-r--r-- | dnsdist-lua-ffi.hh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dnsdist-lua-ffi.hh b/dnsdist-lua-ffi.hh index d0ed833..a91003b 100644 --- a/dnsdist-lua-ffi.hh +++ b/dnsdist-lua-ffi.hh @@ -48,11 +48,11 @@ struct dnsdist_ffi_dnsquestion_t DNSQuestion* dq{nullptr}; ComboAddress maskedRemote; std::string trailingData; - boost::optional<std::string> result{boost::none}; - boost::optional<std::string> httpPath{boost::none}; - boost::optional<std::string> httpQueryString{boost::none}; - boost::optional<std::string> httpHost{boost::none}; - boost::optional<std::string> httpScheme{boost::none}; + std::optional<std::string> result{std::nullopt}; + std::optional<std::string> httpPath{std::nullopt}; + std::optional<std::string> httpQueryString{std::nullopt}; + std::optional<std::string> httpHost{std::nullopt}; + std::optional<std::string> httpScheme{std::nullopt}; std::unique_ptr<std::vector<dnsdist_ffi_ednsoption_t>> ednsOptionsVect; std::unique_ptr<std::vector<dnsdist_ffi_http_header_t>> httpHeadersVect; std::unique_ptr<std::vector<dnsdist_ffi_tag_t>> tagsVect; @@ -78,7 +78,7 @@ struct dnsdist_ffi_dnsresponse_t } DNSResponse* dr{nullptr}; - boost::optional<std::string> result{boost::none}; + std::optional<std::string> result{std::nullopt}; }; // dnsdist_ffi_server_t is a lightuserdata |