Changeset 42:f4d94bc65e1f in freeDiameter
- Timestamp:
- Nov 19, 2009, 5:51:23 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/p_psm.c
r40 r42 330 330 ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_NEW ); 331 331 ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_ZOMBIE ); 332 ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_OPEN_HANDSHAKE ); /* because it existsonly between two loops */332 ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_OPEN_HANDSHAKE ); /* because it should exist only between two loops */ 333 333 334 334 /* Purge invalid events */ … … 384 384 fd_log_debug("Received invalid data from peer '%s', closing the connection\n", peer->p_hdr.info.pi_diamid); 385 385 CHECK_FCT_DO( fd_event_send(peer->p_events, FDEVP_CNX_ERROR, 0, NULL), goto psm_end ); 386 free(ev_data); 386 387 goto psm_loop; 387 388 } ); … … 419 420 /* The standard situation : */ 420 421 case STATE_OPEN: 421 /* We received a valid message, update the expiry timer */422 /* We received a valid routable message, update the expiry timer */ 422 423 CHECK_FCT_DO( fd_p_expi_update(peer), goto psm_end ); 423 424 -
include/freeDiameter/freeDiameter.h
r38 r42 248 248 If we win the election, we must disconnect the initiated connection and send a CEA on the other => we go to OPEN state. 249 249 If we lose, we disconnect the other connection (receiver) and fallback to WAITCEA state. */ 250 STATE_OPEN_HANDSHAKE, /* TLS Handshake and validation are in progress in open state -- we show the state because it can last a long time*/250 STATE_OPEN_HANDSHAKE, /* TLS Handshake and validation are in progress in open state -- we use it only for debug purpose, it is never displayed */ 251 251 252 252 /* Failover state machine */
Note: See TracChangeset
for help on using the changeset viewer.