Skip to content

Commit

Permalink
Release 2.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gwanglst committed Apr 12, 2021
1 parent 293df8d commit 927d9cb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/test_h3_framing.c
Original file line number Diff line number Diff line change
Expand Up @@ -1467,8 +1467,7 @@ test_reading_zero_size_data_frame (void)

/* Fake out reading of HEADERS frame: */
stream->stream_flags |= STREAM_HAVE_UH;
stream->sm_hq_filter.hqfi_hist_buf = 1 /* CODE_HEADER */;
stream->sm_hq_filter.hqfi_hist_idx++;
stream->sm_hq_filter.hqfi_flags |= HQFI_FLAG_HEADER;

/* One-byte DATA frame */
frame = new_frame_in_ext(&tobjs, 0, 3, 0, (uint8_t[3]){ 0, 1, 'a', });
Expand Down Expand Up @@ -1524,8 +1523,7 @@ test_reading_zero_size_data_frame_scenario2 (void)

/* Fake out reading of HEADERS frame: */
stream->stream_flags |= STREAM_HAVE_UH;
stream->sm_hq_filter.hqfi_hist_buf = 1 /* CODE_HEADER */;
stream->sm_hq_filter.hqfi_hist_idx++;
stream->sm_hq_filter.hqfi_flags |= HQFI_FLAG_HEADER;

/* Zero-length DATA frame */
frame = new_frame_in_ext(&tobjs, 0, 5, 0, (uint8_t[5]){ 0, 1, 'a', 0, 0, });
Expand Down Expand Up @@ -1576,8 +1574,7 @@ test_reading_zero_size_data_frame_scenario3 (void)

/* Fake out reading of HEADERS frame: */
stream->stream_flags |= STREAM_HAVE_UH;
stream->sm_hq_filter.hqfi_hist_buf = 1 /* CODE_HEADER */;
stream->sm_hq_filter.hqfi_hist_idx++;
stream->sm_hq_filter.hqfi_flags |= HQFI_FLAG_HEADER;

/* Zero-length DATA frame */
frame = new_frame_in_ext(&tobjs, 0, 4, 0, (uint8_t[4]){ 0, 1, 'a', 0, });
Expand Down

0 comments on commit 927d9cb

Please sign in to comment.