Clean up logging, anti-multiplexing checks

This commit is contained in:
Ian Gulliver
2019-04-28 20:40:00 +00:00
parent 4ec3eb2066
commit b444bc5964
4 changed files with 12 additions and 2 deletions

View File

@@ -20,6 +20,10 @@ FastCGIRequest::FastCGIRequest(uint16_t request_id, FastCGIConn* conn)
conn_(conn),
out_buf_(fastcgi_max_record_len) {}
uint16_t FastCGIRequest::RequestId() {
return request_id_;
}
void FastCGIRequest::AddParam(const std::string_view& key, const std::string_view& value) {
params_.try_emplace(std::string(key), std::string(value));
}