You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was using this library to connect to a SOCKS5 proxy and I find it very useful.
However, I encountered the following bug.
Steps to reproduce
// Connect to a socks5 that is not listening -> The connection will be refusedfinal proxy =Socks5ClientDialer("127.0.0.1", 9150);
// Get the sockettry {
final socket =await proxy.connect("example.com", 80);
} catch (err, stackTrace) {
print(err);
print(stackTrace);
}
Expected result
The thrown error should be SocketException
Actual result
The thrown error is:
LateInitializationError: Local 'socket' has not been initialized.
#0 LateError._throwLocalNotInitialized (dart:_internal-patch/internal_patch.dart:189:5)
#1 Socks5ClientDialer.connect (package:socks5_io/src/client_dialer.dart:53:11)
<asynchronous suspension>
The text was updated successfully, but these errors were encountered:
Hi, I was using this library to connect to a SOCKS5 proxy and I find it very useful.
However, I encountered the following bug.
Steps to reproduce
Expected result
The thrown error should be
SocketException
Actual result
The thrown error is:
The text was updated successfully, but these errors were encountered: