Project

General

Profile

Bug #1655

multipart classes not cleaning up temp files

Added by Rob Nahf over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_common_java
Target version:
Start date:
Due date:
% Done:

100%

Milestone:
CCI-0.6.2
Product Version:
*
Story Points:
Sprint:

History

#1 Updated by Rob Nahf over 13 years ago

  • Assignee set to Rob Nahf
  • Category set to d1_common_java

SimpleMultipartEntity and possibly MultipartRequestHandler don't clean up the temp files they create when putting together a request. Add a finalize method to them, but watch out that they don't clean up the files prior to the message being transmitted. Might be safer to put cleanup methods in the classes and have callers (RestClient) trigger the cleanup upon message response.

#2 Updated by Dave Vieglais over 13 years ago

  • Position set to 1
  • Target version changed from Sprint-2011.23-Block.3 to Sprint-2011.26-Block.4
  • Position deleted (1)

#3 Updated by Rob Nahf over 13 years ago

  • Status changed from New to Closed
  • Milestone set to CCI-0.6.2

updated both SimpleMultipartEntity and MutilpartRequestHandler. Updated SMPE tests to get MultipartRequestHandler out of the tests (they apparently were never completed).

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)