0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd::http: Remove the write_closure from the request parse object.

This commit is contained in:
Jason Volk 2017-12-21 16:11:41 -07:00
parent f37311a3f1
commit 40d6b6055b
3 changed files with 1 additions and 3 deletions

View file

@ -268,7 +268,6 @@ struct ircd::http::request
request(parse::capstan &,
content *const & = nullptr,
const write_closure & = nullptr,
const proffer & = nullptr,
const headers::closure & = {});
};

View file

@ -379,7 +379,7 @@ try
bool ret{true};
http::request
{
pc, nullptr, write_closure(client), [&client, &pc, &ret]
pc, nullptr, [&client, &pc, &ret]
(const auto &head)
{
handle_request(client, pc, head);

View file

@ -267,7 +267,6 @@ ircd::http::printed_size(const vector_view<const line::header> &headers)
ircd::http::request::request(parse::capstan &pc,
content *const &c,
const write_closure &write_closure,
const proffer &proffer,
const headers::closure &headers_closure)
{