From: Aki Tuomi Date: Fri, 24 Apr 2015 14:36:12 +0000 (+0300) Subject: Defer launch of coprocess until first question X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~95^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2455%2Fhead;p=thirdparty%2Fpdns.git Defer launch of coprocess until first question Do not launch coprocess in ctor as if that fails for some reason, like delays, it can prevent PowerDNS from starting at all. --- diff --git a/modules/remotebackend/pipeconnector.cc b/modules/remotebackend/pipeconnector.cc index 76962921d0..28c86feb52 100644 --- a/modules/remotebackend/pipeconnector.cc +++ b/modules/remotebackend/pipeconnector.cc @@ -20,7 +20,6 @@ PipeConnector::PipeConnector(std::map options) { d_pid = -1; d_fp = NULL; - launch(); } PipeConnector::~PipeConnector(){