Skip to content

parsers/hdrext: Parse the @id as u16 instead of String

Link Mauve requested to merge linkmauve/xmpp-rs:hdrext-id-u16 into main

The specification says it can only be in the 1-256, 4096-4351 ranges, so use the closest type available. This doesn’t validate that the value is correct, but that will be done in a future commit.

Thanks gst-meet for making me notice this issue!

Merge request reports