Commit 74d81071 authored by jan.koester's avatar jan.koester
Browse files

test

parent 06f7988e
Loading
Loading
Loading
Loading
+3 −2
Changes for src/http/HttpProxyServer.cpp: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -310,6 +310,7 @@ HttpProxyServer::HttpProxyServer(config::ListenerConfig listener, std::string ce
                                  lb::LoadBalancer &loadBalancer,
                                  tls::AcmeChallengeStore *acmeChallenges)
    : _listener(listener)
    , _tlsActive(!listener.tlsProfile.empty())
    , _httpd(std::make_unique<libhttppp::HttpD>(listener.address, listener.port, 512, certPath,
                                                 keyPath))
    , _configStore(configStore)
@@ -330,8 +331,8 @@ HttpProxyServer::HttpProxyServer(config::ListenerConfig listener, std::string ce
void HttpProxyServer::run() {
    HttpProxyController controller(_httpd->getServerSockets(),
                                    _listener.address + ":" + std::to_string(_listener.port),
                                    _configStore, _authService, _pluginManager, _loadBalancer,
                                    _acmeChallenges);
                                    _tlsActive, _configStore, _authService, _pluginManager,
                                    _loadBalancer, _acmeChallenges);
    controller.runEventloop();
}

+1 −0
Changes for src/http/HttpProxyServer.h: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ public:

private:
    config::ListenerConfig _listener;
    bool _tlsActive;
    std::unique_ptr<libhttppp::HttpD> _httpd;
    store::ConfigStore &_configStore;
    auth::IAuthService &_authService;