diff --git a/include/ircd/http.h b/include/ircd/http.h index 774dadc9c..beff6ac8e 100644 --- a/include/ircd/http.h +++ b/include/ircd/http.h @@ -268,7 +268,6 @@ struct ircd::http::request request(parse::capstan &, content *const & = nullptr, - const write_closure & = nullptr, const proffer & = nullptr, const headers::closure & = {}); }; diff --git a/ircd/client.cc b/ircd/client.cc index 9c330b33d..71b962b04 100644 --- a/ircd/client.cc +++ b/ircd/client.cc @@ -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); diff --git a/ircd/http.cc b/ircd/http.cc index df5401aba..be1c49d31 100644 --- a/ircd/http.cc +++ b/ircd/http.cc @@ -267,7 +267,6 @@ ircd::http::printed_size(const vector_view &headers) ircd::http::request::request(parse::capstan &pc, content *const &c, - const write_closure &write_closure, const proffer &proffer, const headers::closure &headers_closure) {