]> git.ipfire.org Git - thirdparty/asterisk.git/commit
asterisk: Add macro for curl user agent.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 13 Jan 2022 14:37:16 +0000 (14:37 +0000)
committerKevin Harwell <kharwell@digium.com>
Fri, 25 Feb 2022 19:04:01 +0000 (13:04 -0600)
commitd5c72f35fd8e5c2e81ae8eb723b3edd0d053fd0e
treed2cb1ad517316e1ebbcab31d594ca53400037b9b
parenteb77229b538be90e02af10aea6cb9088fcd75ef9
asterisk: Add macro for curl user agent.

Currently, each module that uses libcurl duplicates the standard
Asterisk curl user agent.

This adds a global macro for the Asterisk user agent used for
curl requests to eliminate this duplication.

ASTERISK-29861 #close

Change-Id: I9fc37935980384b4daf96ae54fa3c9adb962ed2d
funcs/func_curl.c
include/asterisk.h
res/res_http_media_cache.c
res/res_stir_shaken/curl.c
tests/test_res_prometheus.c