Navigation


Changeset 42:f4d94bc65e1f in freeDiameter


Ignore:
Timestamp:
Nov 19, 2009, 5:51:23 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Some minor updates

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/p_psm.c

    r40 r42  
    330330        ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_NEW );
    331331        ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_ZOMBIE );
    332         ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_OPEN_HANDSHAKE ); /* because it exists only between two loops */
     332        ASSERT( peer->p_hdr.info.runtime.pir_state != STATE_OPEN_HANDSHAKE ); /* because it should exist only between two loops */
    333333
    334334        /* Purge invalid events */
     
    384384                                fd_log_debug("Received invalid data from peer '%s', closing the connection\n", peer->p_hdr.info.pi_diamid);
    385385                                CHECK_FCT_DO( fd_event_send(peer->p_events, FDEVP_CNX_ERROR, 0, NULL), goto psm_end );
     386                                free(ev_data);
    386387                                goto psm_loop;
    387388                        } );
     
    419420                                /* The standard situation : */
    420421                                case STATE_OPEN:
    421                                         /* We received a valid message, update the expiry timer */
     422                                        /* We received a valid routable message, update the expiry timer */
    422423                                        CHECK_FCT_DO( fd_p_expi_update(peer), goto psm_end );
    423424
  • include/freeDiameter/freeDiameter.h

    r38 r42  
    248248                                   If we win the election, we must disconnect the initiated connection and send a CEA on the other => we go to OPEN state.
    249249                                   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 */
    251251       
    252252        /* Failover state machine */
Note: See TracChangeset for help on using the changeset viewer.