• Oran Agra's avatar
    optimize memory usage of deferred replies · fb732f7a
    Oran Agra authored
    When deffered reply is added the previous reply node cannot be used so
    all the extra space we allocated in it is wasted. in case someone uses
    deffered replies in a loop, each time adding a small reply, each of
    these reply nodes (the small string reply) would have consumed a 16k
    block.
    now when we add anther diferred reply node, we trim the unused portion
    of the previous reply block.
    
    see #7123
    fb732f7a
networking.c 119 KB