Adam Wick fbd98a5f9b A significant clean-up of the server authentication phase, with a basic test.
The prior implementation involved some (moderately awkward) layered
`match` expressions; this version skips those in favor of `?`. The cost
is a little less detail about (for example) when serialization errors
happen. On the bright side, it gains us some huge improvements in code
clarity. We might be able to get back the tracing later, with other
library support.

In addition, we know have a couple tests: one to make sure we choose the
authentication method appropriately, and a very basic handshake test for
when we're not actually negotiation a username and password.
2021-10-09 18:40:00 -07:00
2021-06-24 19:18:16 -07:00
Description
A SOCKSv5 library for Rust, using async under the hood
144 KiB
Languages
Rust 100%