knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject git commit: KNOX-432 - Add Transfer_Encoding to EXCLUDE_HEADERS
Date Mon, 22 Sep 2014 11:00:51 GMT
Repository: knox
Updated Branches:
  refs/heads/master 89171c17a -> 5145c2d3d


KNOX-432 - Add Transfer_Encoding to EXCLUDE_HEADERS

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

Branch: refs/heads/master
Commit: 5145c2d3dcd52bb15c974c0976cc4a54eec677cb
Parents: 89171c1
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Mon Sep 22 07:00:37 2014 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Mon Sep 22 07:00:37 2014 -0400

----------------------------------------------------------------------
 CHANGES                                                            | 1 +
 .../apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/5145c2d3/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 41948bf..778eb01 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,7 @@ Release Notes - Apache Knox - Version 0.5.0
     * [KNOX-375] - add functional test for KNOX-242 find client bind dn using ldapsearch
 
 ** Bug
+    * [KNOX-432] - Add Transfer_Encoding to EXCLUDE_HEADERS
     * [KNOX-410] - TopologyService Incorrect when _default Topology is Deployed
     * [KNOX-424] - Fix maven groupId
     * [KNOX-426] - change assertion provider name to Default

http://git-wip-us.apache.org/repos/asf/knox/blob/5145c2d3/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
----------------------------------------------------------------------
diff --git a/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
b/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
index 9fd755e..1bf5fc0 100644
--- a/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
+++ b/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
@@ -42,7 +42,7 @@ public abstract class AbstractGatewayDispatch extends AbstractGatewayFilter
impl
 
   private static Map<String,Adapter> METHOD_ADAPTERS = createMethodAdapters();
   private static int STREAM_COPY_BUFFER_SIZE = 4096;
-  private static final List<String> EXCLUDE_HEADERS = Arrays.asList( "Host", "Authorization",
"Content-Length" );
+  private static final List<String> EXCLUDE_HEADERS = Arrays.asList( "Host", "Authorization",
"Content-Length", "Transfer-Encoding" );
 
   private static Map<String,Adapter> createMethodAdapters() {
     Map<String,Adapter> map = new HashMap<String,Adapter>();


Mime
View raw message