0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::server: Don't parse from outbound buffer for canceled requests.

This commit is contained in:
Jason Volk 2019-04-11 20:49:29 -07:00
parent eef869691a
commit 9a6c5f5fe4

View file

@ -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)
{