mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
curlhttpsink: allow for unconditionally disabling proxying
Previously if the proxy server hostname was the empty string curlhttpsink would never even set the libcurl option. For libcurl however, having a proxy server hostname be the empty string means that proxying should be disabled even if environment variables might be set. Now with the restriction lifted, doing this is allowed. https://bugzilla.gnome.org/show_bug.cgi?id=728960
This commit is contained in:
parent
54d160be5f
commit
13f87a1db1
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ gst_curl_http_sink_set_options_unlocked (GstCurlBaseSink * bcsink)
|
|||
GstCurlTlsSinkClass *parent_class;
|
||||
|
||||
/* proxy settings */
|
||||
if (sink->proxy != NULL && strlen (sink->proxy)) {
|
||||
if (sink->proxy != NULL) {
|
||||
if (!proxy_setup (bcsink)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue