Changeset 5575


Ignore:
Timestamp:
Mar 31, 2017 6:02:48 AM (8 years ago)
Author:
riza
Message:

Re #1994 (misc): Remove assert if SIP auth receives 401 for request with very
very long To URI. Thank you Oleg Grazhdan for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_auth_client.c

    r5373 r5575  
    675675    uri_str.slen = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, uri, tmp,sizeof(tmp)); 
    676676    if (uri_str.slen < 1) { 
    677         pj_assert(!"URL is too long!"); 
    678677        return PJSIP_EURITOOLONG; 
    679678    } 
     
    696695        hauth = pjsip_proxy_authorization_hdr_create(pool); 
    697696    else { 
    698         pj_assert(!"Invalid response header!"); 
    699697        return PJSIP_EINVALIDHDR; 
    700698    } 
Note: See TracChangeset for help on using the changeset viewer.