Navigation



Ignore:
Timestamp:
Feb 9, 2011, 3:26:58 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Large UNTESTED commit with the following changes:

  • Improved DiameterIdentity? handling (esp. interationalization issues), and improve efficiency of some string operations in peers, sessions, and dictionary modules (closes #7)
  • Cleanup in the session module to free only unreferenced sessions (#16)
  • Removed fd_cpu_flush_cache(), replaced by more robust alternatives.
  • Improved peer state machine algorithm to counter SCTP multistream race condition.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_interactive/messages.i

    r688 r706  
    341341       
    342342        /* Get the source */
    343         char *source() {
    344                 char * s = NULL;
    345                 int ret = fd_msg_source_get($self, &s);
    346                 if (ret != 0) {
    347                         DI_ERROR(ret, NULL, NULL);
    348                         return NULL;
    349                 }
    350                 return s;
     343        %cstring_output_allocate_size(char ** outid, size_t * outlen, /* do not free */);
     344        void source(char ** outid, size_t * outlen) {
     345                int ret = fd_msg_source_get($self, outid, outlen);
     346                if (ret != 0) {
     347                        DI_ERROR(ret, NULL, NULL);
     348                        return;
     349                }
     350                return;
    351351        }
    352352       
Note: See TracChangeset for help on using the changeset viewer.