MCPcopy Create free account
hub / github.com/apache/mesos / acknowledgeContainerInputResponse

Method acknowledgeContainerInputResponse

src/slave/http.cpp:3952–3971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3950
3951
3952Future<Response> Http::acknowledgeContainerInputResponse(
3953 const ContainerID& containerId) const {
3954 return slave->containerizer->attach(containerId)
3955 .then([](Connection connection) {
3956 Request request;
3957 request.method = "POST";
3958 request.type = Request::BODY;
3959 request.url.domain = "";
3960 request.url.path = "/acknowledge_container_input_response";
3961
3962 // This is a non Keep-Alive request which means the connection
3963 // will be closed when the response is received. Since the
3964 // 'Connection' is reference-counted, we must maintain a copy
3965 // until the disconnection occurs.
3966 connection.disconnected()
3967 .onAny([connection]() {});
3968
3969 return connection.send(request);
3970 });
3971}
3972
3973
3974Future<Response> Http::attachContainerInput(

Callers

nothing calls this directly

Calls 4

disconnectedMethod · 0.65
sendMethod · 0.65
thenMethod · 0.45
attachMethod · 0.45

Tested by

no test coverage detected