camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: REUSE_ADDRESSES options is set using the value for TCP_NO_DELAY intead of REUSE_ADDRESSES
Date Sat, 10 Jun 2017 07:11:35 GMT
REUSE_ADDRESSES options is set using the value for TCP_NO_DELAY intead of REUSE_ADDRESSES


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

Branch: refs/heads/camel-2.18.x
Commit: a03e6c7a3410bf80479856924cb93c9a217ba1d6
Parents: b21d06a
Author: Bhun Kho <bhun.kho@ictu.nl>
Authored: Sat Jun 10 08:42:51 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Jun 10 09:11:25 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/undertow/UndertowEndpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a03e6c7a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
index 9a36978..090b3a1 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
@@ -343,7 +343,7 @@ public class UndertowEndpoint extends DefaultEndpoint implements AsyncEndpoint,
         if (reuseAddresses != null && !optionMap.contains(Options.REUSE_ADDRESSES))
{
             // rebuild map
             OptionMap.Builder builder = OptionMap.builder();
-            builder.addAll(optionMap).set(Options.REUSE_ADDRESSES, tcpNoDelay);
+            builder.addAll(optionMap).set(Options.REUSE_ADDRESSES, reuseAddresses);
             optionMap = builder.getMap();
         }
     }


Mime
View raw message