Skip to content

[レビュー] Serverの責務分割 #1

@atty303

Description

@atty303

Server が select するのは責務にあってそうです。
ただacceptした後のsend/recvやHTTPメッセージのハンドリングまでやっているのは責務過剰です。
例えば Connection クラスを作って、これがHTTP接続の1つの recv/send を担うようにすれば、かなり見通しが良くなると思います。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions