Changeset 1081 for pjproject


Ignore:
Timestamp:
Mar 19, 2007 10:24:23 AM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #188: Error parsing compact form of Via header (thanks Tobias Söreling)

Location:
pjproject/branches/pjproject-0.5-stable/pjsip/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsip/sip_parser.c

    r974 r1081  
    453453    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
    454454 
    455     status = pjsip_register_hdr_parser( "Via", NULL, &parse_hdr_via); 
     455    status = pjsip_register_hdr_parser( "Via", "v", &parse_hdr_via); 
    456456    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
    457457 
  • pjproject/branches/pjproject-0.5-stable/pjsip/src/test-pjsip/msg_test.c

    r974 r1081  
    6363    "Record-Route: <sip:server10.biloxi.com>,\r\n" /* multiple routes+folding*/ 
    6464    "  <sip:bigbox3.site3.atlanta.com;lr>\n" 
    65     "Via: SIP/2.0/SCTP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c230\n" 
     65    "v: SIP/2.0/SCTP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c230\n" 
    6666    "Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8\n" /* folding. */ 
    6767    " ;received=192.0.2.1\r\n" 
Note: See TracChangeset for help on using the changeset viewer.