Skip to content

Commit

Permalink
sure, why not...
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Oct 29, 2022
1 parent 35e1a61 commit d50378f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/iodine/iodine_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ Handling the HTTP response
static int for_each_header_data(VALUE key, VALUE val, VALUE h_) {
http_s *h = (http_s *)h_;
// fprintf(stderr, "For_each - headers\n");
if (TYPE(val) == T_NIL)
if (TYPE(val) == T_NIL || TYPE(key) == T_NIL)
return ST_CONTINUE;
if (TYPE(val) == T_ARRAY)
goto array_style_multi_value;
Expand Down

0 comments on commit d50378f

Please sign in to comment.