Navigation


Changeset 1274:681e8e55af27 in freeDiameter for libfdcore


Ignore:
Timestamp:
Jul 28, 2014, 11:02:51 PM (10 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Allow routing messages in state CLOSING_GRACE.

Otherwise, replies can't get out, defeating the purpose of
CLOSING_GRACE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/routing_dispatch.c

    r1238 r1274  
    879879                /* Find the peer corresponding to this name */
    880880                CHECK_FCT( fd_peer_getbyid( qry_src, qry_src_len, 0, (void *) &peer ) );
    881                 if (fd_peer_getstate(peer) != STATE_OPEN) {
     881                if (fd_peer_getstate(peer) != STATE_OPEN && fd_peer_getstate(peer) != STATE_CLOSING_GRACE) {
    882882                        char buf[128];
    883883                        snprintf(buf, sizeof(buf), "Unable to forward answer to deleted / closed peer '%s'.", qry_src);
Note: See TracChangeset for help on using the changeset viewer.