Navigation


Changeset 175:7704fe55bb35 in freeDiameter for freeDiameter/peers.c


Ignore:
Timestamp:
Feb 3, 2010, 4:19:09 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added comment on expiry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/peers.c

    r163 r175  
    452452                /* Set this peer to expire on inactivity */
    453453                peer->p_hdr.info.config.pic_flags.exp   = PI_EXP_INACTIVE;
    454                 peer->p_hdr.info.config.pic_lft         = 3600 * 3;     /* 3 hours without any message */
     454                peer->p_hdr.info.config.pic_lft         = 3600; /* 1 hour without any message
     455                -- RFC3539 states that this must not be inferior to BRINGDOWN_INTERVAL = 5 minutes */
    455456               
    456457                /* Insert the new peer in the list (the PSM will take care of setting the expiry after validation) */
Note: See TracChangeset for help on using the changeset viewer.