0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 04:08:54 +02: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 &, request(parse::capstan &,
content *const & = nullptr, content *const & = nullptr,
const write_closure & = nullptr,
const proffer & = nullptr, const proffer & = nullptr,
const headers::closure & = {}); const headers::closure & = {});
}; };

View file

@ -379,7 +379,7 @@ try
bool ret{true}; bool ret{true};
http::request http::request
{ {
pc, nullptr, write_closure(client), [&client, &pc, &ret] pc, nullptr, [&client, &pc, &ret]
(const auto &head) (const auto &head)
{ {
handle_request(client, pc, 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, ircd::http::request::request(parse::capstan &pc,
content *const &c, content *const &c,
const write_closure &write_closure,
const proffer &proffer, const proffer &proffer,
const headers::closure &headers_closure) const headers::closure &headers_closure)
{ {