cxf
cxf copied to clipboard
InputStream should not be closed prematurely
What's the context behind this pull request? Can you create a JIRA describing the problem?
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.