Update design.md

This commit is contained in:
2025-08-19 13:33:31 -04:00
parent cb322bbb2b
commit 5bfa20643a
3 changed files with 148 additions and 5 deletions

View File

@@ -40,8 +40,8 @@ public:
* - Return appropriate ProcessResult for connection management
* - Handle partial messages and streaming protocols appropriately
* - Can take ownership by calling conn_ptr.release() to pass to other threads
* - If ownership is taken, handler must call conn->releaseBackToServer() when
* done
* - If ownership is taken, handler must call Server::releaseBackToServer()
* when done
*/
virtual ProcessResult process_data(std::string_view data,
std::unique_ptr<Connection> &conn_ptr) = 0;