Commit Graph

  • 74ce0ac Drain result channel during server execution. by Titouan Rigoudy 2021-01-23 16:35:50 +0100
  • dd1a660 Fix stream_closed looping forever. by Titouan Rigoudy 2021-01-23 16:31:13 +0100
  • 86552bf Check all responses in stream_closed test. by Titouan Rigoudy 2021-01-23 15:27:22 +0100
  • 9a7849c Rename FakeServer to Server, same with ServerHandle. by Titouan Rigoudy 2021-01-23 15:24:11 +0100
  • d27fb4d Add TODO. by Titouan Rigoudy 2021-01-23 13:17:38 +0100
  • d5776cd Rework FakeServer initialization. by Titouan Rigoudy 2021-01-23 13:17:19 +0100
  • b39d2bf Extract ClientOptions setup in tests. by Titouan Rigoudy 2021-01-23 12:57:11 +0100
  • 756a236 Make Client::run() yield an error when stream is closed. by Titouan Rigoudy 2021-01-23 12:54:59 +0100
  • e7f71e1 Remove stale TODO. by Titouan Rigoudy 2021-01-23 11:51:48 +0100
  • bab80e3 Clean up testing::Handler::run(). by Titouan Rigoudy 2021-01-23 11:50:51 +0100
  • 883d81e Improve UserStatusMap ergonomics. by Titouan Rigoudy 2021-01-23 11:43:41 +0100
  • b575e13 Jot down TODOs. by Titouan Rigoudy 2021-01-22 22:04:44 +0100
  • a400ad5 Handle UserStatusRequest in FakeServer. by Titouan Rigoudy 2021-01-22 21:59:32 +0100
  • 59b255e Fix tests. by Titouan Rigoudy 2021-01-22 21:07:43 +0100
  • 9f3f20a Tiny comment nits. by Titouan Rigoudy 2021-01-22 20:37:30 +0100
  • 92ff0aa Add TODO. by Titouan Rigoudy 2021-01-22 20:35:25 +0100
  • 4340d6d Remove hardcoded digest from tests. by Titouan Rigoudy 2021-01-22 19:43:06 +0100
  • 9ef3e48 Move Version to its own module. by Titouan Rigoudy 2021-01-22 19:42:04 +0100
  • 1f3ace9 Move password check out of LoginRequest. by Titouan Rigoudy 2021-01-22 19:40:30 +0100
  • a240c83 Introduce Credentials struct. by Titouan Rigoudy 2021-01-22 18:00:29 +0100
  • 582e155 Make ClientOptions public. by Titouan Rigoudy 2021-01-22 17:11:29 +0100
  • 27b65ee Support graceful stream shutdown in client and server. by Titouan Rigoudy 2021-01-21 18:23:02 +0100
  • a390bbf Update log and env_logger crates. by Titouan Rigoudy 2021-01-22 09:24:20 +0100
  • 2f6edc3 Improve ergonomics of FakeServer. by Titouan Rigoudy 2021-01-21 18:09:22 +0100
  • 51464e2 Implement FakeServer graceful shutdown. by Titouan Rigoudy 2021-01-21 17:43:36 +0100
  • 7ba1b64 Shut down writer when client runs out of requests. by Titouan Rigoudy 2021-01-21 12:15:49 +0100
  • 8f9d23a Tiny comment fix. by Titouan Rigoudy 2021-01-21 12:08:15 +0100
  • d465c9f Rework Client API to something inspired by tonic bidi streaming RPCs. by Titouan Rigoudy 2021-01-19 21:57:51 +0100
  • d93b785 Define proto::server::Client, implement rough login. by Titouan Rigoudy 2021-01-16 22:20:09 +0100
  • 621274a Move FakeServer to proto::server. by Titouan Rigoudy 2021-01-16 21:44:47 +0100
  • 903864f Define proto::core module. by Titouan Rigoudy 2021-01-16 21:43:03 +0100
  • 72bc8e2 Fix reference to frame module. by Titouan Rigoudy 2021-01-16 14:21:02 +0100
  • 45842cd Rename value_codec.rs to value.rs. by Titouan Rigoudy 2021-01-16 14:20:24 +0100
  • 381ec05 Set indent width to 2. by Titouan Rigoudy 2021-01-16 14:14:48 +0100
  • 5870784 Run cargo fmt. by Titouan Rigoudy 2021-01-16 14:12:02 +0100
  • 91d2387 Rename codec.rs to frame.rs. by Titouan Rigoudy 2021-01-16 14:11:18 +0100
  • 1b69daf Rename Connection to FrameStream. by Titouan Rigoudy 2021-01-16 14:10:00 +0100
  • 12f85fb Move Connection into codec.rs. by Titouan Rigoudy 2021-01-16 14:06:44 +0100
  • 8362069 Set 80-char line width. by Titouan Rigoudy 2021-01-16 14:01:32 +0100
  • 8d3a325 Start implementing fake server login handling. by Titouan Rigoudy 2021-01-04 19:28:58 +0000
  • a711c51 Add test for very large messages. by Titouan Rigoudy 2021-01-04 19:17:56 +0000
  • b06d459 Add skeleton code for a fake server. by Titouan Rigoudy 2021-01-04 19:12:33 +0000
  • 70bf234 Introduce simple Connection to send and receive frames. by Titouan Rigoudy 2021-01-04 19:12:14 +0000
  • 7b3a3b2 Squash last warning about room.rs. by Titouan Rigoudy 2021-01-04 14:06:32 +0000
  • f153167 Small fixes to value_codec.rs. by Titouan Rigoudy 2021-01-04 13:41:58 +0000
  • a98672f Use encoding crate in value_codec.rs. by Titouan Rigoudy 2021-01-04 13:35:03 +0000
  • e147ab7 Update `bytes` dependency to 1.0. by Titouan Rigoudy 2020-12-31 17:37:07 +0000
  • da74ff8 Re-use BytesMut for encoding and decoding. by Titouan Rigoudy 2020-07-05 15:57:23 +0000
  • e8b2b47 Squash a bunch of warnings with allow attributes. by Titouan Rigoudy 2020-12-29 19:54:48 +0000
  • ea4b5c1 Add a few tests to user.rs to squash warnings. by Titouan Rigoudy 2020-12-29 19:24:36 +0000
  • c7471d6 Extract prefix encoding logic into Prefixer. by Titouan Rigoudy 2020-07-05 15:56:18 +0000
  • 59a9f6b Rename base_codec.rs to value_codec.rs. by Titouan Rigoudy 2020-07-05 13:59:16 +0000
  • b18fe56 Rename Proto{En,De}code to Value{En,De}code. by Titouan Rigoudy 2020-07-05 13:57:07 +0000
  • 417edbf Fully remove bytes crate dep from base_codec.rs by Titouan Rigoudy 2020-07-05 13:38:49 +0000
  • 7bb290f Introduce ProtoEncodeError and use it in ProtoEncoder. by Titouan Rigoudy 2020-06-14 20:45:38 +0000
  • 97e380e Simplify ProtoDecodeError conversion to io::Error. by Titouan Rigoudy 2020-06-14 19:23:03 +0000
  • c9ffdc5 Introduce ProtoDecodeError and use it in ProtoDecoder. by Titouan Rigoudy 2020-06-14 17:35:07 +0000
  • 80ebf38 Add things to TODO.md. by Titouan Rigoudy 2020-06-14 00:25:54 +0000
  • 9b81a6c Remove BytesMut from ProtoDecoder tests in base_codec.rs. by Titouan Rigoudy 2020-06-14 00:24:01 +0000
  • 468c404 Simplify ProtoDecoder by removing dependency on the bytes crate. by Titouan Rigoudy 2020-06-14 00:14:53 +0000
  • 30b8ff0 Run cargo fmt. by Titouan Rigoudy 2020-06-11 02:19:07 +0000
  • 5894f42 Fix typo in base_codec.rs by Titouan Rigoudy 2020-06-11 02:18:33 +0000
  • 972efde Run cargo update. by Titouan Rigoudy 2020-06-11 02:18:20 +0000
  • 487060f Update to Rust 1.44.0, recompile. by Titouan Rigoudy 2020-06-11 01:56:03 +0000
  • 5ccae4b Add stub LoginHandler. by Titouan Rigoudy 2019-07-06 00:05:52 +0000
  • bb03cbf Add LoginStatus to Context. by Titouan Rigoudy 2019-07-05 23:38:14 +0000
  • 2d4813d Add Todo state to LoginStatus enum. by Titouan Rigoudy 2019-07-05 23:37:36 +0000
  • 64472da Extract LoginStatus to its own file. by Titouan Rigoudy 2019-07-05 23:32:36 +0000
  • d5b269a Introduce SetPrivilegedUsersHandler. by Titouan Rigoudy 2019-05-27 21:16:35 +0000
  • cc17e60 Remove useless Debug from DispatchedMessage handler type bound. by Titouan Rigoudy 2019-05-27 21:07:44 +0000
  • e542c10 Move Context back into Executor, add test. by Titouan Rigoudy 2019-05-27 20:53:11 +0000
  • e7fc922 Move some Executor functionality into MessageHandler. by Titouan Rigoudy 2019-05-27 19:20:04 +0000
  • aceccc7 WIP: Add tests for Executor. by Titouan Rigoudy 2019-05-26 21:12:44 +0000
  • ef5f6ac Add tests for Context. by Titouan Rigoudy 2019-05-26 19:03:53 +0000
  • 6dee714 Run cargo fmt. by Titouan Rigoudy 2019-05-26 18:56:20 +0000
  • 78d1022 Implement Executor. by Titouan Rigoudy 2019-05-26 18:54:46 +0000
  • 9aaf843 Introduce MessageHandler, Dispatcher, Executor. by Titouan Rigoudy 2019-05-18 23:51:37 +0000
  • caebbc5 Use crossbeam channel instead of std::sync::mpsc. by Titouan Rigoudy 2019-05-18 20:48:41 +0000
  • 1b43b92 Remove unnecessary extern crate declarations. by Titouan Rigoudy 2019-05-18 20:39:52 +0000
  • e35719f Remove src/proto/transport.rs. by Titouan Rigoudy 2019-05-18 20:20:28 +0000
  • 0e2e684 Use doc comments in codec.rs some more. by Titouan Rigoudy 2019-05-18 20:10:24 +0000
  • a776151 Use doc comments in base_codec.rs some more. by Titouan Rigoudy 2019-05-18 19:53:00 +0000
  • f78448d Upgrade to Rust 2018 edition. by Titouan Rigoudy 2019-05-18 19:21:23 +0000
  • 101e407 Run cargo update. by Titouan Rigoudy 2019-05-18 19:01:41 +0000
  • 8faee7d Rename {En,De}coder to LengthPrefixed{En,De}coder. by Titouan Rigoudy 2018-11-24 21:12:04 +0000
  • b55307f Introduce length-prefixed Tokio decoder. by Titouan Rigoudy 2018-11-24 21:03:40 +0000
  • c48673c Introduce ProtoDecoder instead of extending Buf trait. by Titouan Rigoudy 2018-11-24 20:47:23 +0000
  • 8daeb74 Run cargo fmt. by Titouan Rigoudy 2018-11-24 20:19:28 +0000
  • a1971b0 Implement length-prefixed encoding for Tokio. by Titouan Rigoudy 2018-10-28 19:17:33 +0000
  • d793f9e Unconditionally reserve u32 space in encode_u32. by Titouan Rigoudy 2018-10-28 18:26:26 +0000
  • 5d1a339 Use {get,put}_u32_le instead of LittleEndian trait. by Titouan Rigoudy 2018-10-28 18:20:14 +0000
  • 585e9a5 Fix use declarations in tests. by Titouan Rigoudy 2018-10-28 17:50:16 +0000
  • 2e64e5a Use BootstrapDecode instead of Buf as trait bound. by Titouan Rigoudy 2018-10-28 17:46:23 +0000
  • 0118354 Implement Encode using ProtoEncode. by Titouan Rigoudy 2018-09-23 16:52:02 +0000
  • 9dbb5c3 Implement tokio_codec::Decoder for all message types. by Titouan Rigoudy 2018-09-22 23:40:24 +0000
  • 94a5ba0 Implement tokio_codec::Encoder for all message types. by Titouan Rigoudy 2018-09-22 23:26:33 +0000
  • c8a4e8f Add src::proto::codec for Tokio integration. by Titouan Rigoudy 2018-09-16 21:19:37 +0000
  • e76ed36 Rename proto::codec to proto::base_codec. by Titouan Rigoudy 2018-09-16 20:56:20 +0000
  • 1536e1d Update dependencies. by Titouan Rigoudy 2018-09-08 18:28:08 +0000
  • 7c1fd0b Minor import change. by Titouan Rigoudy 2018-09-08 18:27:34 +0000