The main logical function that's called when a new client socket is accepted which receives the request, handles it, and then closes the socket and frees any allocated resources.
The server that accepted the client.
The client's socket.
A preallocated buffer for reading the client's request.
The HTTP request parser.
A logger to use for any logging messages.
The main logical function that's called when a new client socket is accepted which receives the request, handles it, and then closes the socket and frees any allocated resources.