Skip to content
Snippets Groups Projects
Commit d294bfdd authored by Ionut-Francisc Oancea's avatar Ionut-Francisc Oancea
Browse files

Fixed bug in the s_header_field state

If the buffer ended with the '-' char on the s_header_field state, the parser forgot to call the on_header_field() callback due to the wrong 'break'.
Fixed by letting the 'is_last' check to handle the "last-char" situations.
parent 711bc91b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment