mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
21.27.2013 df439c5fb79fae7b439fd03cbac13c3a2b3dec3b
refs
author Ludovic Poitou <ludovic.poitou@forgerock.com>
Thursday, November 21, 2013 17:27 +0100
committer Ludovic Poitou <ludovic.poitou@forgerock.com>
Thursday, November 21, 2013 17:27 +0100
commitdf439c5fb79fae7b439fd03cbac13c3a2b3dec3b
tree 6d345b6ec6fb4d3fa514423233d099b900bb30fa tree | zip | gz
parent 1c80048f3463089a0aa4a891c1886da5acf93412 view | diff
Fix for issue OPENDJ-1207 - Import-ldif corrupts some photo files during process.
The root cause was an threading issue and the fact that a single buffer was used when processing a URL and loading the content to the attribute value. Now using ByteStringBuilder.append(InputStream, int) which has its own internal buffer.
2 files modified
30 ■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/LDIFReader.java 26 ●●●● diff | view | raw | blame | history