cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6007] Minor update to HttpConduit to support empty POSTs and DELETEs retransmits
Date Thu, 30 Apr 2015 16:00:03 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 7918a41a1 -> 0f1ed5435


[CXF-6007] Minor update to HttpConduit to support empty POSTs and DELETEs retransmits


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

Branch: refs/heads/3.0.x-fixes
Commit: 0f1ed543581cddd56140a14677816afd3358b191
Parents: 7918a41
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Thu Apr 30 16:58:15 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Thu Apr 30 16:59:41 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/transport/http/HTTPConduit.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/0f1ed543/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
index 0dd1081..789b3e3 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
@@ -1380,9 +1380,8 @@ public abstract class HTTPConduit
         protected void handleRetransmits() throws IOException {
             // If we have a cachedStream, we are caching the request.
             if (cachedStream != null
-                || KNOWN_HTTP_VERBS_WITH_NO_CONTENT.contains(getMethod()) 
-                   && (getClient().isAutoRedirect()) 
-                       || authSupplier != null && authSupplier.requiresRequestCaching())
{
+                || getClient().isAutoRedirect() && KNOWN_HTTP_VERBS_WITH_NO_CONTENT.contains(getMethod())

+                || authSupplier != null && authSupplier.requiresRequestCaching())
{
 
                 if (LOG.isLoggable(Level.FINE) && cachedStream != null) {
                     StringBuilder b = new StringBuilder(4096);


Mime
View raw message