diff options
author | Rafael Sales <rafaelcds@gmail.com> | 2016-03-02 02:30:29 -0300 |
---|---|---|
committer | Rafael Sales <rafaelcds@gmail.com> | 2016-03-31 19:35:20 -0300 |
commit | ac491d8c1f901fd44c613301d247cd1cd6b82d72 (patch) | |
tree | f9ba270519c45bcc1ac973309a4c765aca5a4d15 /include | |
parent | 6a362747571b6a47c3a84c8e2df25814230a53a7 (diff) |
Raise on unexpected metadata values
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`
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions