[OpenSIPS-Devel] [OpenSIPS/opensips] ee19a4: Added timeout support for async() statement

Bogdan Andrei IANCU noreply at github.com
Fri Jan 17 11:37:52 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ee19a4f7e406ce9e9783bee2ce8316c81627b6bf
      https://github.com/OpenSIPS/opensips/commit/ee19a4f7e406ce9e9783bee2ce8316c81627b6bf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M action.c
    M async.h
    M cfg.y
    M modules/event_routing/ebr_data.c
    M modules/tm/async.c
    M modules/tm/async.h
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  Added timeout support for async() statement

While this is a generic support for timeout (passing values and triggering the right callbacks), each async function must handle the timeout event according to its logic.
If the async cfg function does not implement the timeout support, the timeout value from the async() statement will be discarded -> this change is backward compatible with the existing implementation of the async functions.





More information about the Devel mailing list