> Hi! >> >> I've noted an issue regarding the parser in Yxa. >> >> Consider the following line: >> Contact: <sip:[email protected]>\rsip:[email protected]\r\n >> >> Note the CR before the second URI. This seems to be an attempt to >> specify multiple Contact-headers, but they got it wrong. >> >> Yxa does not interpret this CR as a line terminator, which is mandated >> by RFC2543. Shouldn't Yxa accept this and send it out as Contact: >> <sip:[email protected]>\r\nsip:[email protected]\r\n? > >I think maybe RFC3261 changed the rules for line breaks. Would have to >be checked. > >They got more than one thing wrong though - correct formatting would >include a leading whitespace on the second line too. > >Contact : <sip:[email protected]>,\r\n sip:[email protected]\r\n > >I note that they ALSO missed the comma. A bit much to fix at the >receiving end instead of at the sending end, don't you think? >
Yes, of course. But if the line break were correct shouldn't the second row be interpreted as a new header (possibly an extension header)? /Krister >/Fredrik > _______________________________________________ Yxa-devel mailing list [email protected] https://lists.su.se/mailman/listinfo/yxa-devel
