cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [23/42] cxf git commit: Adding a timeout to the in_chain finish wait
Date Tue, 26 Jul 2016 00:41:28 GMT
Adding a timeout to the in_chain finish wait


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

Branch: refs/heads/master-jaxrs-2.1
Commit: 22fd16d13691feaa295f88ce1345e7638f60e0ba
Parents: 949df02
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Sat Jul 23 15:09:50 2016 +0300
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Sat Jul 23 15:09:50 2016 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/22fd16d1/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
----------------------------------------------------------------------
diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
index 93d8111..23e1ca7 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/AbstractClient.java
@@ -564,7 +564,7 @@ public abstract class AbstractClient implements Client {
         if (ex == null && !exchange.isOneWay()) {
             synchronized (exchange) {
                 while (exchange.get("IN_CHAIN_COMPLETE") == null) {
-                    exchange.wait();
+                    exchange.wait(cfg.getSynchronousTimeout());
                 }
             }
         }


Mime
View raw message