axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/attachments AttachmentsImpl.java
Date Fri, 26 Sep 2003 13:23:16 GMT
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) {
  
  
  

Mime
View raw message