Changeset 933:04f590da5821 in freeDiameter
- Timestamp:
- Mar 7, 2013, 12:39:07 AM (11 years ago)
- Branch:
- default
- Children:
- 934:977a5375543c, 961:d95cd3ca9e8d
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/CMakeLists.txt
r871 r933 25 25 ENDIF (NOT DIAMID_IDNA_IGNORE) 26 26 27 MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT) 27 # Disable expiration of connections with dynamically connected peers as per RFC 3539 ? (default is enabled) 28 # Note: if someone needs, we could also make the delay configurable here... 29 OPTION(DISABLE_PEER_EXPIRY "Disable RFC3539 Peers Connections Expiration after inactivity?" OFF) 30 31 32 MARK_AS_ADVANCED(DISABLE_SCTP DEBUG_SCTP SCTP_USE_MAPPED_ADDRESSES ERRORS_ON_TODO DIAMID_IDNA_IGNORE DIAMID_IDNA_REJECT DISABLE_PEER_EXPIRY) 28 33 29 34 ######################## -
include/freeDiameter/freeDiameter-host.h.in
r904 r933 59 59 #cmakedefine DIAMID_IDNA_IGNORE 60 60 #cmakedefine DIAMID_IDNA_REJECT 61 #cmakedefine DISABLE_PEER_EXPIRY 61 62 #cmakedefine GNUTLS_VERSION_210 62 63 #cmakedefine GNUTLS_VERSION_300 -
libfdcore/peers.c
r928 r933 515 515 peer->p_flags.pf_delete = 1; 516 516 517 #ifndef DISABLE_PEER_EXPIRY 517 518 /* Set this peer to expire on inactivity */ 518 519 peer->p_hdr.info.config.pic_flags.exp = PI_EXP_INACTIVE; 519 520 peer->p_hdr.info.config.pic_lft = 3600; /* 1 hour without any message 520 521 -- RFC3539 states that this must not be inferior to BRINGDOWN_INTERVAL = 5 minutes */ 522 521 523 CHECK_FCT_DO( ret = fd_p_expi_update( peer ), goto out ); 522 524 #endif /* DISABLE_PEER_EXPIRY */ 523 525 524 526 /* 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.