mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
ircd::server: Don't parse from outbound buffer for canceled requests.
This commit is contained in:
parent
eef869691a
commit
9a6c5f5fe4
1 changed files with 3 additions and 0 deletions
|
@ -345,6 +345,9 @@ try
|
|||
if(empty(request.out.head))
|
||||
return "<no head>";
|
||||
|
||||
if(request.tag && request.tag->cancellation)
|
||||
return "<canceled; out data is gone>";
|
||||
|
||||
parse::buffer pb{request.out.head};
|
||||
parse::capstan pc{pb, [](char *&read, char *stop)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue