Commit Graph

16 Commits

Author SHA1 Message Date
Ting Sun
79422c0714 collect all clients to one single folder (#119) 2023-04-14 12:47:10 +02:00
Ting Sun
b1e365b62f Add doc about Ping cmd to README, change the internal data type of Ping cmd to Bytes, and rm unnecessary reference (#118) 2023-03-28 16:53:33 +02:00
Kim Chan
c1c3bcb465 implement client ping (#108) 2022-08-25 11:10:32 +02:00
Kim Chan
d3826795af docs: fix typos (#109) 2022-08-22 19:47:13 +02:00
Jamie
ebe4e1f331 Fix race condition in shutdown of background task (#81) 2021-07-13 14:27:34 +02:00
Carl Lerche
0fb264826d chore: update to Tokio 1.0 (#70) 2020-12-23 09:41:23 -08:00
Carl Lerche
1cb8ec9b0f rename pool to buffer (#56) 2020-06-12 19:38:27 -07:00
João Oliveira
c0bcee4300 add initial connection pool (#53) 2020-06-11 13:43:02 -07:00
Carl Lerche
81888e36b5 fmt (#34) 2020-04-15 09:47:28 -07:00
Carl Lerche
ecf1eb4ea8 More comments and tweak details (#33)
Co-authored-by: Alice Ryhl <alice@ryhl.io>
2020-04-15 09:44:12 -07:00
Carl Lerche
b0edd092f4 write conn comments (#29)
Co-Authored-By: Alice Ryhl <alice@ryhl.io>
2020-04-13 12:49:19 -07:00
Carl Lerche
6f7abbcb48 fix test broken by merge (#28) 2020-04-10 15:55:43 -07:00
Carl Lerche
d4f0dac671 add server pub/sub tests, fix pub/sub response (#27)
mini-redis server responses on PUB/SUB commands did not match real
redis.
2020-04-06 16:34:12 -07:00
João Oliveira
922919a9d4 add unknown commands handling without breaking client connection (#26)
- fix client unsubscribe when subscribe list in the event of the
  received unsubscribe list is in a different order than subscribed
- add tests for subscribe and unsubscribe commands
- add tests for unknown command handling
2020-04-06 13:27:58 -07:00
João Oliveira
e7f6a372f0 add initial client tests (#25) 2020-04-05 20:57:45 -07:00
Carl Lerche
4ac69aeb76 write server test (#19) 2020-04-03 12:21:39 -07:00