aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/pb
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-01-04 17:14:41 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2017-01-05 07:58:12 -0800
commit46b716d521673cf41551a9f146e25fc9e56f94fc (patch)
treed93d1c1cae6c3fd133ffb5042b58eb073915d860 /src/ruby/pb
parent2e3972ae5497f7bcff260ce891191dfba7f55297 (diff)
parent661c2657835246729cb784dd1f0226b262e675b3 (diff)
Merge branch 'master' of https://github.com/grpc/grpc into ruby_advanced_interop_server_side
Diffstat (limited to 'src/ruby/pb')
-rwxr-xr-xsrc/ruby/pb/test/server.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ruby/pb/test/server.rb b/src/ruby/pb/test/server.rb
index c9b71aec76..cc9b872648 100755
--- a/src/ruby/pb/test/server.rb
+++ b/src/ruby/pb/test/server.rb
@@ -200,15 +200,12 @@ class TestTarget < Grpc::Testing::TestService::Service
end
def streaming_input_call(call)
- maybe_echo_metadata(call)
sizes = call.each_remote_read.map { |x| x.payload.body.length }
sum = sizes.inject(0) { |s, x| s + x }
StreamingInputCallResponse.new(aggregated_payload_size: sum)
end
def streaming_output_call(req, _call)
- maybe_echo_metadata(_call)
- maybe_echo_status_and_message(req)
cls = StreamingOutputCallResponse
req.response_parameters.map do |p|
cls.new(payload: Payload.new(type: req.response_type,