aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Rafael Sales <rafaelcds@gmail.com>2016-03-02 02:30:29 -0300
committerGravatar Rafael Sales <rafaelcds@gmail.com>2016-03-31 19:35:20 -0300
commitac491d8c1f901fd44c613301d247cd1cd6b82d72 (patch)
treef9ba270519c45bcc1ac973309a4c765aca5a4d15 /include
parent6a362747571b6a47c3a84c8e2df25814230a53a7 (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