Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various issues with PCAP decoding #3283

Merged
merged 7 commits into from
Aug 29, 2023

Conversation

mpilquist
Copy link
Member

@mpilquist mpilquist commented Aug 26, 2023

  • Fixes bug in StreamDecoder.{isolate, once, tryOnce, many, tryMany} where errors were dropped upon reaching end of input stream.
  • Fixes an issue in interpolateTicks where large gaps in timestamps would unnecessarily allocate lots of memory.
  • Improved CaptureFile stream decoding.

Originally spotted these issues by trying to use the stream decoder for CaptureFile and noticing we'd lose sync on record structure at chunk boundaries.

@mpilquist mpilquist merged commit b8c3b64 into typelevel:main Aug 29, 2023
2 of 14 checks passed
@mpilquist mpilquist deleted the topic/fix-pcap-decoding branch August 29, 2023 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant