We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429b2b8 commit fdf3420Copy full SHA for fdf3420
src/dtls_combine.rs
@@ -33,7 +33,7 @@ pub fn combine_dtls_fragments<'a>(
33
}
34
35
if fragments.len() > MAX_FRAGMENTS {
36
- panic!("More than max fragments");
+ return Err(Err::Error(make_error(&*out, ErrorKind::TooLarge)));
37
38
39
const MESSAGE_HEADER_OFFSET: usize = 12;
0 commit comments