CodingSinger commented on code in PR #16072:
URL: https://github.com/apache/dubbo/pull/16072#discussion_r2867115354


##########
dubbo-common/src/main/java/org/apache/dubbo/common/io/StreamUtils.java:
##########
@@ -239,6 +239,10 @@ public static void skipUnusedStream(InputStream is) throws 
IOException {
     }
 
     public static void copy(InputStream in, OutputStream out) throws 
IOException {
+        if (in instanceof UnsafeByteArrayInputStream) {

Review Comment:
   针对零拷贝路径补充单测



-- 
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: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to