Navigation


Changeset 706:4ffbc9f1e922 in freeDiameter for tests/testdisp.c


Ignore:
Timestamp:
Feb 9, 2011, 3:26:58 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Large UNTESTED commit with the following changes:

  • Improved DiameterIdentity? handling (esp. interationalization issues), and improve efficiency of some string operations in peers, sessions, and dictionary modules (closes #7)
  • Cleanup in the session module to free only unreferenced sessions (#16)
  • Removed fd_cpu_flush_cache(), replaced by more robust alternatives.
  • Improved peer state machine algorithm to counter SCTP multistream race condition.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/testdisp.c

    r662 r706  
    110110        struct disp_hdl * hdl[NB_CB];
    111111        struct disp_when when;
    112         const char * ec;
     112        char * ec;
    113113       
    114114        /* First, initialize the daemon modules */
     
    116116       
    117117        /* Create a dummy session, we don't use it anyway */
    118         CHECK( 0, fd_sess_new( &sess, "test.disp", NULL, 0 ) );
     118        #define DUMMY_SID "test.disp"
     119        CHECK( 0, fd_sess_new( &sess, DUMMY_SID, CONSTSTRLEN(DUMMY_SID), NULL, 0 ) );
    119120       
    120121        memset(&when, 0xff, sizeof(when)); /* check that we don't use un-initialized parts */
Note: See TracChangeset for help on using the changeset viewer.