@kans I added a maximum buffer length of 512 MB... Seems overkill, but it's in the spec.

9348e5e