From: Bert Hubert Date: Wed, 25 Jun 2008 19:43:42 +0000 (+0000) Subject: allow far longer pdns_control lines for bulk purging X-Git-Tag: rec-3.2~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093d83fdfeff4997d5b8a31ce77bd297a1aaed38;p=thirdparty%2Fpdns.git allow far longer pdns_control lines for bulk purging git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1226 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/dynlistener.cc b/pdns/dynlistener.cc index e109a6f196..2c266f53bf 100644 --- a/pdns/dynlistener.cc +++ b/pdns/dynlistener.cc @@ -131,8 +131,9 @@ void *DynListener::theListenerHelper(void *p) string DynListener::getLine() { - char mesg[512]; - memset(mesg,0,sizeof(mesg)); + vector mesg; + mesg.resize(1024000); + int len; sockaddr_un remote; @@ -146,24 +147,37 @@ string DynListener::getLine() L<