Skip to content

Commit

Permalink
h3i: Don't panic on empty header block
Browse files Browse the repository at this point in the history
  • Loading branch information
evanrittenhouse committed Sep 18, 2024
1 parent 3725e27 commit 1b9e688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h3i/src/prompts/h3/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn prompt_headers(

sid_alloc.take_next_id();

let header_block = encode_header_block(&headers).unwrap();
let header_block = encode_header_block(&headers).unwrap_or_default();

let fin_stream = prompt_fin_stream()?;

Expand Down

0 comments on commit 1b9e688

Please sign in to comment.