Skip to content

Some suggestions #13

@pengzechen

Description

@pengzechen

I looked through your "request.c", this module parse http string and save it to a REQUEST data struct.
But I suggest you use a switch statement that analyse http char array one by one , I think it will increase efficiency and it's easy to filter invalid request.
If you read the source code of "Nginx", it had used this algorithm.

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