Navigation


Changeset 1238:8f9684264fe0 in freeDiameter for libfdcore/p_sr.c


Ignore:
Timestamp:
Oct 10, 2013, 11:08:46 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Change management of the p_reqin_count counter to be updated only on routable messages. This should limit the errors in the counter value resulting from rejected or discarded link-local messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/p_sr.c

    r1232 r1238  
    337337        /* The list of expiring requests must be empty now */
    338338        ASSERT( FD_IS_LIST_EMPTY(&srlist->exp) );
     339        ASSERT( srlist->cnt == 0 ); /* debug the counter management if needed */
    339340       
    340341        CHECK_POSIX_DO( pthread_mutex_unlock(&srlist->mtx), /* continue anyway */ );
Note: See TracChangeset for help on using the changeset viewer.