• Moritz Barsnick's avatar
    avformat/http,tls: honor http_proxy command line variable for HTTPS · 94b63e8a
    Moritz Barsnick authored
    Add the "http_proxy" option and its handling to the "tls" protocol,
    pass the option from the "https" protocol.
    
    The "https" protocol already defines the "http_proxy" command line
    option, like the "http" protocol does. The "http" protocol properly
    honors that command line option in addition to the environment
    variable. The "https" protocol doesn't, because the proxy is
    evaluated in the underlying "tls" protocol, which doesn't have this
    option, and thus only handles the environment variable, which it
    has access to.
    
    Fixes #7223.
    Signed-off-by: 's avatarMoritz Barsnick <barsnick@gmx.net>
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    94b63e8a
tls.h 2.69 KB