You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How we should behave with uncompliant / bad header #6
So I prefer a strict Compliance by default meaning that each unexpected format of data will raise an exception.
Or at very least will raise a log.
My preferred way would be raise an exception by default and eventually be able to configure (or override code) to let user log instead.
Here is some part of the code which lead to that kind of questions :
(Not directly linked so let me know if you prefer a dedicated issue)
But We could also discuss what should be the behavior if we receive a not supported format :
See : #1 (comment)
Activity
[-]How we should be have with uncompliant / bad header[/-][+]How we should behave with uncompliant / bad header[/+]bplessis-swi commentedon Nov 24, 2025
You and @cthirouin-swi were in agreement on this so the exception road was taken for tlv parsing.
sbernard31 commentedon Nov 24, 2025
I think this also make sense to check the value of LOCAL command.
sbernard31 commentedon Nov 24, 2025
(Not directly linked so let me know if you prefer a dedicated issue)
But We could also discuss what should be the behavior if we receive a not supported format :
See : #1 (comment)