MCPcopy Create free account
hub / github.com/Icinga/icinga2 / HandleExpect100

Function HandleExpect100

lib/remote/httpserverconnection.cpp:217–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217static inline
218void HandleExpect100(
219 const Shared<AsioTlsStream>::Ptr& stream,
220 const HttpApiRequest& request,
221 boost::asio::yield_context& yc
222)
223{
224 namespace http = boost::beast::http;
225
226 if (request[http::field::expect] == "100-continue") {
227 HttpApiResponse response{stream};
228 response.result(http::status::continue_);
229 response.Flush(yc);
230 }
231}
232
233static inline
234bool HandleAccessControl(

Callers 1

ProcessMessagesMethod · 0.85

Calls 1

FlushMethod · 0.45

Tested by

no test coverage detected