forked from boostorg/beast
Fix parse illegal characters in obs-fold
This commit is contained in:
1 parent
f657057c49
commit
a00ce1209b
3 files changed
+41
No files matched your search
@@ -797,6 +797,11 @@ protected:
|
||||
p = parse_token_to_eol(p, last, token_last, ec);
|
||||
if(ec)
|
||||
return;
|
||||
if(! p)
|
||||
{
|
||||
ec = error::bad_value;
|
||||
return;
|
||||
}
|
||||
// Look 1 char past the CRLF to handle obs-fold.
|
||||
if(p + 1 > last)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user