You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2003/09/26 15:23:16 UTC
cvs commit: ws-axis/java/src/org/apache/axis/attachments AttachmentsImpl.java
dims 2003/09/26 06:23:16
Modified: java/src/org/apache/axis/attachments AttachmentsImpl.java
Log:
Fix for Bug 23435 - Client sets illegal content length when MIME-attachement is bigger than 2GB
from john.e.halse@start.no (John Erik Halse)
Revision Changes Path
1.42 +1 -1 ws-axis/java/src/org/apache/axis/attachments/AttachmentsImpl.java
Index: AttachmentsImpl.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/attachments/AttachmentsImpl.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- AttachmentsImpl.java 27 Jun 2003 18:19:44 -0000 1.41
+++ AttachmentsImpl.java 26 Sep 2003 13:23:16 -0000 1.42
@@ -456,7 +456,7 @@
try {
if(sendtype == SEND_TYPE_MIME)
- return (int)org.apache.axis.attachments.MimeUtils.getContentLength(
+ return org.apache.axis.attachments.MimeUtils.getContentLength(
multipart != null ? multipart : (multipart = org.apache.axis.attachments.MimeUtils.createMP(soapPart.getAsString(), orderedAttachments)));
else if (sendtype == SEND_TYPE_DIME)return createDimeMessage().getTransmissionSize();
} catch (Exception e) {