Removed misleading return values from process::network::.
Some of the methods in the process::network namespace were returning
the 0 or -1 return code of the underlying socket system call. These
functions will always return 0 when the Try is Some.
Review: https://reviews.apache.org/r/47092
Proj
Repository: mesos
Updated Branches:
refs/heads/master 628ccd235 -> fa29544c3
Removed side-effects from MetricsTest.SnapshotAuthenticationEnabled.
The test was previously adding metrics without removing them, which
meant that the test fails when run in repetition. Since this test
only cares abo
Made http::internal::ConnectionProcess a managed Process.
Per the details in MESOS-4658, the `http::Connection` abstraction is
prone to the deadlock of `process::wait`ing on itself. This occurs
when the `http::internal::ConnectionProcess` exposes a Future on
which the caller binds a copy of `http:
Repository: mesos
Updated Branches:
refs/heads/master 0104e7349 -> 628ccd235
Fixed and illustrated process::initialize ordering.
Moves `metrics::initialize` below the creation of the `help` process.
Adds a comment block to explain the ordering of process creation in
`process::initialize`.
Re
Repository: mesos
Updated Branches:
refs/heads/master 0f25c7b94 -> 0104e7349
Added a missing blank line in "slave/http.cpp".
Review: https://reviews.apache.org/r/47116/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/860e
Documented the agent '/metrics/snapshot' endpoint.
Review: https://reviews.apache.org/r/46935/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8e482f36
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8e482f36
Diff: ht
Corrected a typo in slave authorization tests.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0104e734
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0104e734
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0
Documented the agent '/flags' endpoint.
Review: https://reviews.apache.org/r/46936/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3207c8b8
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3207c8b8
Diff: http://git-wi