Ignore:
Timestamp:
Mar 18, 2009 6:24:40 PM (15 years ago)
Author:
bennylp
Message:

More ticket #747: the previous fix in r2505 causes parsing IPv6 address in Via to fail. Also added some torture messages in the SIP message test vectors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_parser.h

    r2394 r2522  
    337337    pj_cis_t pjsip_TOKEN_SPEC;          /**< Token.                     */ 
    338338    pj_cis_t pjsip_TOKEN_SPEC_ESC;      /**< Token without '%' character */ 
     339    pj_cis_t pjsip_VIA_PARAM_SPEC;      /**< Via param is token + ":" for 
     340                                             IPv6.                      */ 
     341    pj_cis_t pjsip_VIA_PARAM_SPEC_ESC;  /**< .. as above without '%'    */ 
    339342    pj_cis_t pjsip_HEX_SPEC;            /**< Hexadecimal digits.        */ 
    340343    pj_cis_t pjsip_PARAM_CHAR_SPEC;     /**< For scanning pname (or pvalue 
Note: See TracChangeset for help on using the changeset viewer.