cxf icon indicating copy to clipboard operation
cxf copied to clipboard

InputStream should not be closed prematurely

Open faucct opened this issue 5 years ago • 2 comments

faucct avatar Aug 26 '20 07:08 faucct

What's the context behind this pull request? Can you create a JIRA describing the problem?

coheigea avatar Nov 02 '20 06:11 coheigea

I don't think I remember the whole context, but the problem was that in case of MediaType.MULTIPART_FORM_DATA_TYPE the message body was also a stream and was being consumed twice. When debugging this issue I have found this hack and decided to plug in there.

faucct avatar Nov 02 '20 06:11 faucct