< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Helper::validateMessage


Since the stack makes heavy use of both the Status-Line and the topmost Via, we really should be checking to see whether they are well-formed on receipt. For example, in Transport::stampReceived, we use the topmost Via, and stampReceived is meant to be called immediately after basicCheck (from what I can tell). Having a well-formed Status Line is necessary, because it is used extensively in TransactionState.

I propose we add checks for these to Helper::validateMessage. Anyone with a differing opinion, please speak up.

Best regards,
Byron Campen

Attachment: smime.p7s
Description: S/MIME cryptographic signature