aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/connect.rs
AgeCommit message (Collapse)Author
2022-10-07fix errors with rewritten packet readingmat
i forgot i never tested it before LMAO
2022-10-07Replace impl Read with Cursor<&[u8]> (#26)mat
* Start getting rid of Cursor * try to make the tests pass and fail * make the tests pass * remove unused uses * fix clippy warnings * fix potential OOM exploits * fix OOM in az-nbt * fix nbt benchmark * fix a test * start replacing it with Cursor<Vec<u8>> * wip * fix all the issues * fix all tests * fix nbt benchmark * fix warnings
2022-09-19Fix connection writer being locked (#23)mat
* Split connection struct in az-protocol * az-client uses split conns * fix errors * add a convenience write_packet fn to az-client
2022-08-31test gravityUbuntu
2022-08-06Better errors (#14)mat
* make reading use thiserror * finish implementing all the error things * clippy warnings related to ok_or * fix some errors in other places * thiserror in more places * don't use closures in a couple places * errors in writing packet * rip backtraces * change some BufReadError::Custom to UnexpectedEnumVariant * Errors say what packet is bad * error on leftover data and fix it wasn't reading the properties for gameprofile
2022-07-30remove unnecessary empty implsmat
2022-07-29simplify switching packet statesmat
2022-07-29remove unused structsmat
2022-07-29make Connection a single struct with genericsmat
This isn't that good of a solution but I couldn't come up with a better one and this was pretty simple to implement
2022-07-29Split clientbound and serverbound packetsmat
2022-05-07clientbound add player packetmat
2022-04-30azalea_auth::encryption -> azalea_cryptomat
2022-04-29upgrade aes and cfb8mat
2022-04-24ENCRYPTION WORKS!!!!!!!!!!!mat
2022-04-22simplify error handlingmat
2021-12-17writing compressed packetsmat
2021-12-17fix packetsmat
2021-12-16try to implement compressionmat
2021-12-15azaleamat