Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f7f2cb41d6f562d0c3d6748a827d55e12cb05174
      
https://github.com/OpenSIPS/opensips/commit/f7f2cb41d6f562d0c3d6748a827d55e12cb05174
  Author: Bogdan-Andrei Iancu <bog...@opensips.org>
  Date:   2014-05-07 (Wed, 07 May 2014)

  Changed paths:
    M action.c
    M modules/tm/tm.c
    M proxy.c
    M proxy.h
    M route.c

  Log Message:
  -----------
  Fix reusage of proxy_l structures.

As proxy_l structures contain information about the DNS-based failover 
(iteration in he struct, which SRV or NAPTR records were used or not), such 
structure cannot be used more then once for sending a message out.
Fixes:
- do not use the same proxy_l for multiple functions in script (remove the 
add_proxy() and find_proxy() )
- avoid using the same proxy_l structure for all the calls of same function 
(when proxy_l is a function parameter)

Fixes #224
Many thanks for Chris Maciejewski ( @l7s ) for support on troublehsooting this.


_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to