From eb69c34f8345a8777c894b35a4211caed20132a4 Mon Sep 17 00:00:00 2001 From: Alexander Polcyn <apolcyn@google.com> Date: Tue, 20 Dec 2016 16:32:50 -0800 Subject: [PATCH] attach trailing metadata to ruby bidi call op when it's received --- src/ruby/lib/grpc/generic/bidi_call.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ruby/lib/grpc/generic/bidi_call.rb b/src/ruby/lib/grpc/generic/bidi_call.rb index d7cd9e6df2..e6ea7d8697 100644 --- a/src/ruby/lib/grpc/generic/bidi_call.rb +++ b/src/ruby/lib/grpc/generic/bidi_call.rb @@ -200,6 +200,7 @@ module GRPC if is_client batch_result = @call.run_batch(RECV_STATUS_ON_CLIENT => nil) @call.status = batch_result.status + @call.trailing_metadata = @call.status.metadata if @call.status batch_result.check_status GRPC.logger.debug("bidi-read-loop: done status #{@call.status}") end -- GitLab