Skip to content

Commit

Permalink
Add RESTEasy 4444 change to address issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-krueger committed Jan 4, 2025
1 parent 539b90a commit b22ca39
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,13 @@ public void close() {
// super.close();
}
};
//Liberty change start: Can be removed when https://github.com/resteasy/resteasy/pull/4444 is added
final HeaderFlushedOutputStream headerFlushedOutputStream = new HeaderFlushedOutputStream(headers, partStream);
writer.writeTo(entity, entityType, entityGenericType, annotations, part.getMediaType(), headers,
new HeaderFlushedOutputStream(headers, partStream));
headerFlushedOutputStream);
//Liberty change end
// Flush the headers for cases where the entity was empty
headerFlushedOutputStream.flushHeaders();
entityStream.write(LINE_SEPARATOR_BYTES);
}

Expand Down

0 comments on commit b22ca39

Please sign in to comment.