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

Ludovic Poitou
21.27.2013 bb0f86f7189e9246f5cfbbe7ae2b0b3a48ba3a76
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
commitbb0f86f7189e9246f5cfbbe7ae2b0b3a48ba3a76
tree 7a13a78158bfb18ffaa6c01fa30e8463a222e794 tree | zip | gz
parent f5f12a8e4cba90d4e46f4f89fcd0147128810aae 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
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/LDIFReader.java 26 ●●●● diff | view | raw | blame | history