From e2a412fdc8dd878c4bb4bc8f6d6a730605040221 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Thu, 25 Mar 2021 19:29:18 +0100 Subject: [#1662] Fixed netconf build --- src/bin/netconf/http_control_socket.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/bin/netconf/http_control_socket.cc') diff --git a/src/bin/netconf/http_control_socket.cc b/src/bin/netconf/http_control_socket.cc index b3d91796d9..dbe46440ea 100644 --- a/src/bin/netconf/http_control_socket.cc +++ b/src/bin/netconf/http_control_socket.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2018-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -11,6 +11,9 @@ #include #include +#include +#include +#include #include #include #include @@ -84,7 +87,7 @@ HttpControlSocket::sendCommand(ConstElementPtr command) { string receive_errmsg; HttpResponseJsonPtr response(new HttpResponseJson()); - client.asyncSendRequest(getUrl(), request, response, + client.asyncSendRequest(getUrl(), TlsContextPtr(), request, response, [&io_service, &received_ec, &receive_errmsg] (const boost::system::error_code& ec, const HttpResponsePtr&, const string& errmsg) { -- cgit v1.2.3