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 "Thilina Gunarathne (JIRA)" <ji...@apache.org> on 2006/07/14 10:05:32 UTC

[jira] Created: (AXIS2-893) Cannot enable Chunking on the Simple HTTP server response

Cannot enable Chunking on the Simple HTTP server response 
----------------------------------------------------------

         Key: AXIS2-893
         URL: http://issues.apache.org/jira/browse/AXIS2-893
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

  Components: transports  
    Reporter: Thilina Gunarathne


It seems chunking cannot be enabled in the response path of the SimpleHttpServer. 
Axis2 writes the response directly to the outStream of the request. This gives MemoryOverFlow when returning moderately (~>5mb) large attachments from the server, due to the whole message getting buffered i the outStream.

IMHO we shopuld have a wrapper to the outStream to introduce chunking in to that. 

I still did not check this in TOMCAT. Hope it works without a problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org