Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2938,8 +2938,10 @@ public HttpRequest part(final String name, final String filename,
writePartHeader(name, filename, contentType);
copy(part, output);
} catch (IOException e) {
try { part.close(); } catch (IOException ioe) {} //when Connection timed out, close the file silently
throw new HttpRequestException(e);
}

return this;
}

Expand Down