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.
Note:
See TracTickets
for help on using tickets.
Fixed r7498