[jboss-remoting-commits] JBoss Remoting SVN: r5402 - remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Sat Aug 29 20:40:18 EDT 2009


Author: ron.sigal at jboss.com
Date: 2009-08-29 20:40:18 -0400 (Sat, 29 Aug 2009)
New Revision: 5402

Modified:
   remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPClientInvoker.java
Log:
JBREM-1145: Uses copy of headers map.

Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPClientInvoker.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPClientInvoker.java	2009-08-30 00:38:39 UTC (rev 5401)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/transport/http/HTTPClientInvoker.java	2009-08-30 00:40:18 UTC (rev 5402)
@@ -541,7 +541,7 @@
          unmarshaller = new CompressingUnMarshaller(MarshalFactory.getUnMarshaller(SerializableUnMarshaller.DATATYPE));
       }
 
-      Map map = metadata == null ? headers : metadata;
+      Map map = metadata == null ? new HashMap(headers) : metadata;
       
       // UnMarshaller may not be an HTTPUnMarshaller, in which case it
       // can ignore this parameter.



More information about the jboss-remoting-commits mailing list