mirror of https://github.com/grpc/grpc.git
The existing implementation was causing segmentation fault because src/ruby/ext/grpc/rb_call.c:358 was trying to convert any value type other than Array to String. The Array type is handled in first `if`. This change will cause the Ruby code that sends non-string values to fail with a better message: `ArgumentError: Header values must be of type string or array`pull/5528/head
parent
6a36274757
commit
ac491d8c1f
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue