Opened 12 years ago

Closed 12 years ago

#2269 closed defect (fixed)

Large file support for SetResourceData in HttpServerConnection

Reported by: jng Owned by: jng
Priority: low Milestone: Maestro-5.0
Component: Maestro Version:
Severity: trivial Keywords:
Cc: External ID:

Description

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.

Change History (1)

comment:1 by jng, 12 years ago

Resolution: fixed
Status: newclosed

Fixed r7498

Note: See TracTickets for help on using tickets.