You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/04/17 20:18:14 UTC

[20/34] ambari git commit: AMBARI-20650: Remove Server attribute from the HTTP response headers (sangeetar)

AMBARI-20650: Remove Server attribute from the HTTP response headers (sangeetar)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f894e486
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f894e486
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f894e486

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: f894e486a6f8eab31aec5add517a35ec9a11b655
Parents: cfde36c
Author: Sangeeta Ravindran <sa...@apache.org>
Authored: Thu Apr 13 15:08:47 2017 -0700
Committer: Sangeeta Ravindran <sa...@apache.org>
Committed: Thu Apr 13 15:08:47 2017 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/ambari/server/controller/AmbariServer.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f894e486/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
index 4e7af0c..f80d2dc 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
@@ -310,6 +310,7 @@ public class AmbariServer {
     initDB();
     server = new Server();
     server.setSessionIdManager(sessionIdManager);
+    server.setSendServerVersion(false);
     Server serverForAgent = new Server();
 
     setSystemProperties(configs);