Skip to content

Commit

Permalink
http_client: add missed useragent parameter
Browse files Browse the repository at this point in the history
While preparing query_params, "useragent" was missed - add it.

(cherry picked from commit 65a777f)
(cherry picked from commit 5c44038)
  • Loading branch information
vance-od authored and miconda committed Dec 18, 2017
1 parent e9cef32 commit f4672ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/http_client/functions.c
Expand Up @@ -546,6 +546,7 @@ int curl_con_query_url_f(struct sip_msg* _m, const str *connection,
query_params.cacert = default_tls_cacert;
query_params.ciphersuites = conn->ciphersuites;
query_params.tlsversion = conn->tlsversion;
query_params.useragent = conn->useragent;
query_params.verify_peer = conn->verify_peer;
query_params.verify_host = conn->verify_host;
query_params.timeout = conn->timeout;
Expand Down

0 comments on commit f4672ce

Please sign in to comment.