reta commented on code in PR #2253:
URL: https://github.com/apache/cxf/pull/2253#discussion_r2038652940


##########
rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/json/JSONProvider.java:
##########
@@ -239,8 +239,8 @@ public T readFrom(Class<T> type, Type genericType, 
Annotation[] anns, MediaType
             } else {
                 response = checkAdapter(response, type, anns, false);
             }
+            realStream.close();

Review Comment:
   @cunningt could you please revert this one change and we are good to go, as 
per spec:
   
   > The caller is responsible for ensuring that the input stream ends when the 
entity has been consumed. The implementation should not close the input stream.



-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to