Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8342f35b80817065ddfb8e1fc7e3042a766eb465
      
https://github.com/OpenSIPS/opensips/commit/8342f35b80817065ddfb8e1fc7e3042a766eb465
  Author: Liviu Chircu <li...@opensips.org>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest_client: Improve async() handling in "delayed 200 OK" scenarios

In case the 200 OK reply or its body take several seconds to arrive, do
not break the loop prematurely due to a 500ms hardcoded loop timeout and
re-use the configurable "curl_timeout" modparam as loop timeout instead.

(cherry picked from commit 532d8e83726f96f8e8d2c493a1e7cb0f54615869)



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

Reply via email to