cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From egl...@apache.org
Subject svn commit: r472141 - in /incubator/cxf/trunk: rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java systests/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Date Tue, 07 Nov 2006 15:32:45 GMT
Author: eglynn
Date: Tue Nov  7 07:32:44 2006
New Revision: 472141

URL: http://svn.apache.org/viewvc?view=rev&rev=472141
Log:
Completed fix for partial response race condition

Modified:
    incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java

Modified: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java?view=diff&rev=472141&r1=472140&r2=472141
==============================================================================
--- incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
(original)
+++ incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Tue Nov  7 07:32:44 2006
@@ -459,9 +459,7 @@
             }
             
             Message inMessage = new MessageImpl();
-            if (exchange != null) {
-                exchange.setInMessage(inMessage);
-            }
+            inMessage.setExchange(exchange);
             InputStream in = null;
             inMessage.put(Message.PROTOCOL_HEADERS, connection.getHeaderFields());
             inMessage.put(Message.RESPONSE_CODE, responseCode);

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java?view=diff&rev=472141&r1=472140&r2=472141
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Tue Nov  7 07:32:44 2006
@@ -102,11 +102,8 @@
         }
         setupGreeter("org/apache/cxf/systest/ws/rm/anonymous.xml");
 
-        System.out.println("*** calling once");
         greeter.greetMeOneWay("once");
-        System.out.println("*** calling twice");
         greeter.greetMeOneWay("twice");
-        System.out.println("*** calling thrice");
         greeter.greetMeOneWay("thrice");
 
         // three application messages plus createSequence



Mime
View raw message