You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf/http: Add httpproxy to the default protocol whitelist.
This commit is contained in:
@@ -1522,7 +1522,7 @@ const URLProtocol ff_http_protocol = {
|
|||||||
.priv_data_size = sizeof(HTTPContext),
|
.priv_data_size = sizeof(HTTPContext),
|
||||||
.priv_data_class = &http_context_class,
|
.priv_data_class = &http_context_class,
|
||||||
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
||||||
.default_whitelist = "http,https,tls,rtp,tcp,udp,crypto"
|
.default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy"
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_HTTP_PROTOCOL */
|
#endif /* CONFIG_HTTP_PROTOCOL */
|
||||||
|
|
||||||
@@ -1541,7 +1541,7 @@ const URLProtocol ff_https_protocol = {
|
|||||||
.priv_data_size = sizeof(HTTPContext),
|
.priv_data_size = sizeof(HTTPContext),
|
||||||
.priv_data_class = &https_context_class,
|
.priv_data_class = &https_context_class,
|
||||||
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
.flags = URL_PROTOCOL_FLAG_NETWORK,
|
||||||
.default_whitelist = "http,https,tls,rtp,tcp,udp,crypto"
|
.default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy"
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_HTTPS_PROTOCOL */
|
#endif /* CONFIG_HTTPS_PROTOCOL */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user