mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::http: Fix headers view parse to cover expected trailing crlf.
This commit is contained in:
parent
01c2c55054
commit
ee59e76305
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ ircd::http::headers::headers(parse::capstan &pc,
|
|||
{
|
||||
header h{pc};
|
||||
const char *const &started{h.first.data()}, *stopped{started};
|
||||
for(; !h.first.empty(); stopped = h.second.data() + h.second.size(), h = header{pc})
|
||||
for(; !h.first.empty(); stopped = pc.parsed, h = header{pc})
|
||||
if(c && !c(h))
|
||||
c = {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue