-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
kind: bugrelease item: 🐛 bug fixsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Milestone
Description
When reaching the end of a stream while parsing JSON, the eofbit is not set.
std::stringstream s;
try { json j ; j >> s; } catch (...) {}
s.eof(); // false
This seems like a reasonable expected behaviour, as our existing code relies of eofbit to determine when the end of a continuous stream of json commands is reached.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: bugrelease item: 🐛 bug fixsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation