[Mapguide-trac] [mapguide-trac] #2269: Large file support for SetResourceData in HttpServerConnection

MapGuide Open Source trac_mapguide at osgeo.org
Thu May 16 23:52:03 PDT 2013


#2269: Large file support for SetResourceData in HttpServerConnection
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng        
       Type:  defect   |      Status:  new        
   Priority:  low      |   Milestone:  Maestro-5.0
  Component:  Maestro  |     Version:             
   Severity:  trivial  |    Keywords:             
External_id:           |  
-----------------------+----------------------------------------------------
 Maestro's http implementation of SetResourceData uses a MemoryStream to
 prepare the file content for a SetResourceData upload request.

 This obviously results in OutOfMemoryExceptions for really large files.

 This operation needs to be refactored so that the source input stream can
 be plugged in directly to the upload instead of going through an
 intermediate MemoryStream, that requires a full copy of the input stream,
 before doing another full copy into the upload request body.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2269>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list