You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2017/12/01 01:07:38 UTC
[3/3] hbase git commit: HBASE-19393 HTTP 413 FULL head while
accessing HBase UI using SSL.
HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL.
Signed-off-by: Andrew Purtell <ap...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2685d069
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2685d069
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2685d069
Branch: refs/heads/branch-1.3
Commit: 2685d06911d8bf0ef30ae172376ffb460d918619
Parents: 7fde0fd
Author: Sergey Soldatov <ss...@apache.org>
Authored: Thu Nov 30 15:46:38 2017 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Nov 30 17:07:27 2017 -0800
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/http/HttpServer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/2685d069/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java
index 667e597..0be4072 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java
@@ -378,6 +378,7 @@ public class HttpServer implements FilterContainer {
throw new HadoopIllegalArgumentException(
"unknown scheme for endpoint:" + ep);
}
+ listener.setHeaderBufferSize(1024*64);
listener.setHost(ep.getHost());
listener.setPort(ep.getPort() == -1 ? 0 : ep.getPort());
server.addManagedListener(listener);
@@ -604,7 +605,6 @@ public class HttpServer implements FilterContainer {
// the same port with indeterminate routing of incoming requests to them
ret.setReuseAddress(false);
}
- ret.setHeaderBufferSize(1024*64);
return ret;
}