[ 
https://issues.apache.org/jira/browse/AXIS2C-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Lazarski resolved AXIS2C-1246.
-------------------------------------
    Resolution: Won't Fix

  Why chunked is required for MTOM:                                             
              
  - MTOM messages contain binary attachments serialized as separate MIME parts  
              
  - Total Content-Length cannot be known without pre-buffering the entire 
message (envelope + 
  all attachments) in memory                                                    
              
  - Chunked encoding allows streaming without knowing total size upfront        
              
  - Supporting Content-Length would require significant memory overhead         
              
    

> MTOM works only with http chunk transfer encoding
> -------------------------------------------------
>
>                 Key: AXIS2C-1246
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1246
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: mtom
>            Reporter: Manjula Peiris
>            Priority: Major
>
> In the current implementation Axis2/C can sends attachments as MTOM inly with 
> transfer-encoding as chunked. We need to fix for the content-length case as  
> well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to