[GitHub] [cxf] faucct opened a new pull request #690: InputStream should not be closed prematurely

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [cxf] faucct opened a new pull request #690: InputStream should not be closed prematurely

GitBox

faucct opened a new pull request #690:
URL: https://github.com/apache/cxf/pull/690


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [cxf] coheigea commented on pull request #690: InputStream should not be closed prematurely

GitBox

coheigea commented on pull request #690:
URL: https://github.com/apache/cxf/pull/690#issuecomment-720265307


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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [cxf] faucct commented on pull request #690: InputStream should not be closed prematurely

GitBox
In reply to this post by GitBox

faucct commented on pull request #690:
URL: https://github.com/apache/cxf/pull/690#issuecomment-720270394


   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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]