Connection handling #6

Open
opened 2026-06-28 19:25:00 +02:00 by bitwise · 0 comments
Owner

Wire the pipeline together

  • Send +OK greeting on connect
  • Loop reading bytes from socket
  • Feed bytes through resp::parse -> cmd::parse -> handler::handle -> resp::serialize
  • Write serialized response back to socket
  • Handle n == 0 (client disconnect)
  • Pass store clone into each connection
Wire the pipeline together - [ ] Send +OK greeting on connect - [ ] Loop reading bytes from socket - [ ] Feed bytes through resp::parse -> cmd::parse -> handler::handle -> resp::serialize - [ ] Write serialized response back to socket - [ ] Handle n == 0 (client disconnect) - [ ] Pass store clone into each connection
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bitwise/Rustdis#6
No description provided.