Changeset 2923


Ignore:
Timestamp:
Oct 1, 2009 2:17:49 PM (15 years ago)
Author:
bennylp
Message:

Misc (ticket #951): increase CSeq on retrying MESSAGE request due to 401/407 response (thanks Rafael Maia for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c

    r2855 r2923  
    381381                im_data2 = pjsua_im_data_dup(tdata->pool, im_data); 
    382382 
     383                /* Increment CSeq */ 
     384                PJSIP_MSG_CSEQ_HDR(tdata->msg)->cseq++; 
     385 
    383386                /* Re-send request */ 
    384387                status = pjsip_endpt_send_request( pjsua_var.endpt, tdata, -1, 
     
    480483                im_data2 = pjsua_im_data_dup(tdata->pool, im_data); 
    481484 
     485                /* Increment CSeq */ 
     486                PJSIP_MSG_CSEQ_HDR(tdata->msg)->cseq++; 
     487 
    482488                /* Re-send request */ 
    483489                status = pjsip_endpt_send_request( pjsua_var.endpt, tdata, -1, 
Note: See TracChangeset for help on using the changeset viewer.