]> granicus.if.org Git - pdns/commitdiff
Defer launch of coprocess until first question
authorAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 14:36:12 +0000 (17:36 +0300)
committerAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 14:36:12 +0000 (17:36 +0300)
Do not launch coprocess in ctor as if that fails for some reason,
like delays, it can prevent PowerDNS from starting at all.

modules/remotebackend/pipeconnector.cc

index 76962921d0796b66fd68d1c42afcd12456a20023..28c86feb5249ed5d18f5f65c842db2133441010c 100644 (file)
@@ -20,7 +20,6 @@ PipeConnector::PipeConnector(std::map<std::string,std::string> options) {
 
   d_pid = -1;
   d_fp = NULL;
-  launch();
 }
 
 PipeConnector::~PipeConnector(){