diff --git a/ircd/server.cc b/ircd/server.cc index e5ceb81f2..cc6a84f44 100644 --- a/ircd/server.cc +++ b/ircd/server.cc @@ -427,7 +427,7 @@ try if(empty(request.out.head)) return ""; - if(request.tag && request.tag->cancellation) + if(request.tag && request.tag->canceled()) return ""; const http::request::head head @@ -476,7 +476,7 @@ try if(empty(request.in.head)) return {}; - if(request.tag && request.tag->cancellation) + if(request.tag && request.tag->canceled()) return {}; parse::buffer pb{request.in.head}; @@ -509,7 +509,7 @@ try if(empty(request.out.head)) return {}; - if(request.tag && request.tag->cancellation) + if(request.tag && request.tag->canceled()) return {}; parse::buffer pb{request.out.head}; diff --git a/modules/console.cc b/modules/console.cc index b395d0d37..c3d039c4c 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -5003,21 +5003,29 @@ try if(request.tag) out << std::setw(4) << uint(request.tag->state.status) << " "; + else if(!request.tag) + out << std::setw(4) << "----" << " "; else out << std::setw(4) << "CNCL" << " "; if(request.tag && request.tag->committed()) out << std::setw(4) << "PIPE" << " "; + else if(!request.tag) + out << std::setw(4) << "----" << " "; else out << std::setw(4) << " " << " "; if(request.tag && request.tag->abandoned()) out << std::setw(4) << "LEFT" << " "; + else if(!request.tag) + out << std::setw(4) << "----" << " "; else out << std::setw(4) << " " << " "; if(request.tag && request.tag->canceled()) out << std::setw(4) << "CNCL" << " "; + else if(!request.tag) + out << std::setw(4) << "----" << " "; else out << std::setw(4) << " " << " ";