zipkin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-zipkin] anuraaga commented on a change in pull request #2631: Updates to Armeria 0.87 and addresses deprecations
Date Thu, 13 Jun 2019 13:42:52 GMT
anuraaga commented on a change in pull request #2631: Updates to Armeria 0.87 and addresses
deprecations
URL: https://github.com/apache/incubator-zipkin/pull/2631#discussion_r293384482
 
 

 ##########
 File path: zipkin-server/src/main/java/zipkin2/server/internal/ZipkinHttpCollector.java
 ##########
 @@ -136,7 +136,7 @@ HttpResponse validateAndStoreSpans(SpanBytesDecoder decoder, ServiceRequestConte
         } else {
           // Currently this will happen for gzip spans. Need to fix armeria's gzip decoder
to allow
           // returning pooled buffers on request.
-          nioBuffer = ByteBuffer.wrap(content.array(), content.offset(), content.length());
+          nioBuffer = ByteBuffer.wrap(content.array(), 0, content.length());
 
 Review comment:
   Ditto

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message