Skip to content

Request Parser #5

@0yech

Description

@0yech

Request Parser

The Connection Manager will give data from the socket to the request parser, which will store it in a Request instance.
As the data arrives, and the stages of parsing progress, the Request gets built up little by little.

Stages

Each request being parsed needs to go through different stages (as chunks of bytes from recv come through): parsing the request line -> headers -> body -> request is done.

Preparing for Processing

The parser is also responsible for making the request ready to be processed as is.
That means defining which Config_Location is relevant, setting all the fields to be processed, so that the Request Processor can just work on it without doing further analysis.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions