History

avformat/tls: don't use http_proxy for udp sockets

Timo Rothenpieler committed 1 year ago

Commit 492aef21 parent 311742e1 file · +1 −1Browse files

Unified · Split

libavformat/tls.c+1−1
@@ -114,7 +114,7 @@ int ff_tls_open_underlying(TLSShared *c, URLContext *parent, const char *uri, AV · 113 unmodified lines
114114 proxy_path && av_strstart(proxy_path, "http://", NULL);
115115 freeenv_utf8(env_no_proxy);
116116
117− if (use_proxy) {
117+ if (!c->is_dtls && use_proxy) {
118118 char proxy_host[200], proxy_auth[200], dest[200];
119119 int proxy_port;
120120 av_url_split(NULL, 0, proxy_auth, sizeof(proxy_auth),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t