lib/httpx/plugins/grpc/message.rb in httpx-0.22.2 vs lib/httpx/plugins/grpc/message.rb in httpx-0.22.3
- old
+ new
@@ -55,10 +55,10 @@
return data unless block_given?
yield data
- message = message.byteslice((5 + size)..-1)
+ message = message.byteslice((size + 5)..-1)
end
end
def cancel(request)
request.emit(:refuse, :client_cancellation)