The protocol_finish_request function finishes a specified request. For HTTP, the function closes the socket.
#include <frame/protocol.h> void protocol_finish_request(Session *sn, Request *rq);
void
Session *sn is the Session that generated the request.
Request *rq is the Request to be finished.
protocol_handle_session, protocol_scan_headers, protocol_start_response, protocol_status