We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a7f9e commit 361853cCopy full SHA for 361853c
lib/client/udp-tracker.js
@@ -91,7 +91,12 @@ UDPTracker.prototype._request = function (opts) {
91
}
92
93
94
- Socks.createConnection(proxyOpts, onGotConnection)
+ if (proxyOpts.proxy.type === 5) {
95
+ Socks.createConnection(proxyOpts, onGotConnection)
96
+ } else {
97
+ debug('Ignoring Socks proxy for UDP request because type 5 is required')
98
+ onGotConnection(null)
99
+ }
100
} else {
101
onGotConnection(null)
102
0 commit comments