diff --git a/include/ss/parser.hpp b/include/ss/parser.hpp index db80dd3..10f98e1 100644 --- a/include/ss/parser.hpp +++ b/include/ss/parser.hpp @@ -155,7 +155,7 @@ public: return; } - if (header_.empty()) { + if (header_.empty() && !eof()) { split_header_data(); }