|
|
|
@ -648,7 +648,6 @@ static grpc_error* init_header_frame_parser(grpc_chttp2_transport* t, |
|
|
|
|
*s->trailing_metadata_available = true; |
|
|
|
|
} |
|
|
|
|
t->hpack_parser.on_header = on_trailing_header; |
|
|
|
|
s->received_trailing_metadata = true; |
|
|
|
|
} else { |
|
|
|
|
GRPC_CHTTP2_IF_TRACING(gpr_log(GPR_INFO, "parsing initial_metadata")); |
|
|
|
|
t->hpack_parser.on_header = on_initial_header; |
|
|
|
@ -657,7 +656,6 @@ static grpc_error* init_header_frame_parser(grpc_chttp2_transport* t, |
|
|
|
|
case 1: |
|
|
|
|
GRPC_CHTTP2_IF_TRACING(gpr_log(GPR_INFO, "parsing trailing_metadata")); |
|
|
|
|
t->hpack_parser.on_header = on_trailing_header; |
|
|
|
|
s->received_trailing_metadata = true; |
|
|
|
|
break; |
|
|
|
|
case 2: |
|
|
|
|
gpr_log(GPR_ERROR, "too many header frames received"); |
|
|
|
|