Skip to content

net/aws: fix sanity check in transcribe loop

When we receive a new alternative we want to avoid iterating out of bounds, but the comparison between the current index and the length of the alternative should not log an error when partial_index == length, as Vec::drain(length..) is valid, and it is completely valid for AWS to send us a new alternative with as many items as we have already dequeued.

Merge request reports