|
if (version != 0x05 || status != 0x00) { |
|
exception = SocksException.incorrect; |
|
} else { |
From RFC1929, [VER] used in initial negotiation for authentication is 0x01 rather than 0x05, which leads to failure when autheticate with server.

Besides, when autheticate failed due to wrong username or password, an error occurs as #1.
socks_proxy/lib/http_parser.dart
Lines 487 to 489 in 7a1a6fe
From RFC1929, [VER] used in initial negotiation for authentication is 0x01 rather than 0x05, which leads to failure when autheticate with server.
Besides, when autheticate failed due to wrong username or password, an error occurs as #1.