From 11cd056135966023ae8b5c450958bf508c92821e Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Mon, 26 Jun 2017 15:53:59 +0200 Subject: [PATCH] ws-recursor: remove data.clear() which is also done by arecvtcp --- pdns/ws-recursor.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/pdns/ws-recursor.cc b/pdns/ws-recursor.cc index 391cefc37..e45d65e6b 100644 --- a/pdns/ws-recursor.cc +++ b/pdns/ws-recursor.cc @@ -571,7 +571,6 @@ void AsyncWebServer::serveConnection(Socket *client) string data; try { while(!req.complete) { - data.clear(); int bytes = arecvtcp(data, 16384, client, true); if (bytes > 0) { req.complete = yarl.feed(data); -- 2.40.0