Added a TODO to keep Request.keepAlive consistent with the 'Connection' header value.
Review: https://reviews.apache.org/r/38601 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9b05418f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9b05418f Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/9b05418f Branch: refs/heads/master Commit: 9b05418fbe9a352f04e251080dba4711d8fb0e0e Parents: 605a8b6 Author: Benjamin Mahler <[email protected]> Authored: Mon Sep 21 11:33:22 2015 -0700 Committer: Benjamin Mahler <[email protected]> Committed: Mon Sep 28 11:09:55 2015 -0700 ---------------------------------------------------------------------- 3rdparty/libprocess/include/process/http.hpp | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/9b05418f/3rdparty/libprocess/include/process/http.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/include/process/http.hpp b/3rdparty/libprocess/include/process/http.hpp index e32607b..ba3f0bc 100644 --- a/3rdparty/libprocess/include/process/http.hpp +++ b/3rdparty/libprocess/include/process/http.hpp @@ -168,6 +168,8 @@ struct Request std::string body; + // TODO(bmahler): Ensure this is consistent with the 'Connection' + // header; perhaps make this a function that checks the header. bool keepAlive; // For server requests, this contains the address of the client.
