]> 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)
committerN A <mail@interlinked.x10host.com>
Thu, 24 Feb 2022 12:43:28 +0000 (06:43 -0600)
commit63db7505f265d3ab145e1fd320dd1595404fec18
tree8b803b69641cc13a4be0bf1f913be569217cc473
parent74742cdb5ea6553ccc2abaaa62450b4284f32e81
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