Commit Graph

9 Commits

Author SHA1 Message Date
c8279cfc5f Switch to basic tokio; will expand later to arbitrary backends. 2022-05-14 20:28:09 -07:00
811580c64f Just to have a chance to try it out: Switch to proptest. 2022-01-08 16:34:40 -08:00
aa414fd527 More clippy fixin's. 2021-12-31 10:32:15 -08:00
bac2c33aee First attempt at implementing remote TCP port binding. 2021-12-20 20:40:25 -08:00
74f66ef747 Add a separate trait for converting errors into server responses. 2021-11-21 21:18:44 -08:00
774591cb54 Whoops! Missed a reserved byte in client requests. 2021-11-21 21:18:39 -08:00
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
0d35f1cdb3 Remove a bunch of (hopefully) unnecessary Pins.
I believe these were introduced previously to solve a problem that we're
no longer dealing with; specifically, if I remember correctly, we
introduced these to deal with how we were going to implement a trait.
However, they don't appear to be necessary any more, so we're going to
get rid of them, so we won't need to deal with them any longer.
2021-10-09 15:22:10 -07:00
d1143a414c Split out the messages into individual files,, and add negative tests, so we can aspire towards good coverage. 2021-06-27 16:53:57 -07:00