Author: jochen
Date: Mon Jan 24 23:23:23 2011
New Revision: 1063058
URL: http://svn.apache.org/viewvc?rev=1063058&view=rev
Log:
PR: XMLRPC-173
Submitted-By: Brandon DuRette <[email protected]>
XmlRpcCommonsTransport was logging one byte at a time, rather than a block of
bytes.
Modified:
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
webservices/xmlrpc/trunk/src/changes/changes.xml
Modified:
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java?rev=1063058&r1=1063057&r2=1063058&view=diff
==============================================================================
---
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
(original)
+++
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/XmlRpcCommonsTransport.java
Mon Jan 24 23:23:23 2011
@@ -203,6 +203,14 @@ public class XmlRpcCommonsTransport exte
public void close() throws IOException {
flush();
}
+ // See XMLRPC-173
+ public void write( byte[] b, int off, int len )
throws IOException {
+ out.write( b, off, len );
+ }
+ // See XMLRPC-173
+ public void write( byte[] b ) throws IOException {
+ out.write( b );
+ }
};
} else {
ostream = new BufferedOutputStream(pOut){
Modified: webservices/xmlrpc/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/src/changes/changes.xml?rev=1063058&r1=1063057&r2=1063058&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/src/changes/changes.xml (original)
+++ webservices/xmlrpc/trunk/src/changes/changes.xml Mon Jan 24 23:23:23 2011
@@ -34,6 +34,9 @@
Documentation fixes that ought to clearly demonstrate the weaknesses
of the
WebServer class.
</action>
+ <action dev="jochen" type="fix" issue="XMLRPC-173" due-to="Brandon
DuRette" due-to-email="[email protected]">
+ XmlRpcCommonsTransport was logging one byte at a time, rather than a
block of bytes.
+ </action>
</release>
<release version="3.1.3" date="2010-Feb-06">