Merge pull request #9183 from apolcyn/attach_trailing_md_ruby_bidi

attach trailing metadata to ruby bidi call op when it's received
pull/7801/merge
apolcyn 8 years ago committed by GitHub
commit 38642fa924
  1. 1
      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

Loading…
Cancel
Save