From 9a6c5f5fe4765f24f8d3ffe3993961cd8e77efb6 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 11 Apr 2019 20:49:29 -0700 Subject: [PATCH] ircd::server: Don't parse from outbound buffer for canceled requests. --- ircd/server.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ircd/server.cc b/ircd/server.cc index 3b52d89ec..6d60f7b76 100644 --- a/ircd/server.cc +++ b/ircd/server.cc @@ -345,6 +345,9 @@ try if(empty(request.out.head)) return ""; + if(request.tag && request.tag->cancellation) + return ""; + parse::buffer pb{request.out.head}; parse::capstan pc{pb, [](char *&read, char *stop) {