I'm not sure if this is 100% the correct way to fix this, but it does make basic usage scripts work now, whereas before they'd fail with:
/Users/nrajlich/node_modules/socksv5/lib/server.js:217
len = localbytes.length,
^
TypeError: Cannot read property 'length' of undefined
at Socket.dns.lookup.socket.dstSock (/Users/nrajlich/node_modules/socksv5/lib/server.js:217:35)
at Socket.EventEmitter.emit (events.js:93:17)
at Object.afterConnect [as oncomplete] (net.js:752:10)
(I know that v0.8 is getting pretty old at this point, but I try to keep compatibility when it's a one-line fix like this)
I'm not sure if this is 100% the correct way to fix this, but it does make basic usage scripts work now, whereas before they'd fail with:
(I know that v0.8 is getting pretty old at this point, but I try to keep compatibility when it's a one-line fix like this)
:beers: