Author: thilina
Date: Wed Feb 14 04:22:54 2007
New Revision: 507508
URL: http://svn.apache.org/viewvc?view=rev&rev=507508
Log:
Adding the suggestion given in WSCOMMONS-165...
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java?view=diff&rev=507508&r1=507507&r2=507508
==============================================================================
---
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
(original)
+++
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
Wed Feb 14 04:22:54 2007
@@ -65,6 +65,7 @@
.getDataHandler()), boundary);
}
finishWritingMime(outStream);
+ outStream.flush();
} catch (IOException e) {
throw new OMException("Error while writing to the OutputStream.",
e);
} catch (MessagingException e) {
@@ -126,6 +127,7 @@
part.writeTo(outStream);
outStream.write(CRLF);
writeMimeBoundary(outStream, boundary);
+ outStream.flush();
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]