cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Adding a timeout to the in_chain finish wait
Date Sat, 23 Jul 2016 12:11:16 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 2e62f6e30 -> 28054f8aa


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/28054f8a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/28054f8a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/28054f8a

Branch: refs/heads/3.1.x-fixes
Commit: 28054f8aa4a3d208ad7ddadef6f11f692be6787b
Parents: 2e62f6e
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:10:58 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/28054f8a/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