pcapml
pcapml copied to clipboard
Consume large packets in while-loop
Currently, we use a static buffer to read in packet payload data. There is the chance that a jumbo packet exceeds the limit of our buffer, in which we need to consume and copy the data into a larger buffer for copying / writing.
Existing payload buffer is 16KB, so this shouldn't cause any issues outside of the rarest edge cases.