[reSIProcate] no Contact allowed in MESSAGE

John Gregg jgregg at aylus.com
Thu Jun 19 12:24:57 CDT 2014


As per RFC 3428, section 4:

MESSAGE requests do not initiate dialogs.  User Agents MUST NOT
    insert Contact header fields into MESSAGE requests.

Accordingly, I think the following change should be made to 
Dialog::makeRequest() (diff from Dialog.cxx, version 1.9.6 attached):

    request.remove(h_Contacts);
    if (method != MESSAGE) // RFC 3428, section 4: no Contact allowed in 
MESSAGE
    {
request.header(h_Contacts).push_front(mLocalContact);
    }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dialog.cxx.diff
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20140619/47224e93/attachment.bin>


More information about the resiprocate-devel mailing list