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

Introduce a batch mode #26

Merged
merged 3 commits into from
Dec 22, 2024
Merged

Conversation

bbannier
Copy link
Contributor

@bbannier bbannier commented Nov 29, 2024

This PR introduces a batch mode which is intended for cases where no Rust-side access to individual packets is needed (e.g., when an output file was configured).

Closes #25.

src/lib.rs Show resolved Hide resolved
@bbannier bbannier force-pushed the t/batch branch 2 times, most recently from a202095 to d43f9c5 Compare November 29, 2024 08:29
@bbannier bbannier marked this pull request as ready for review December 19, 2024 17:09
@bbannier
Copy link
Contributor Author

@CrabeDeFrance, I believe this is ready for review. I have added a smoke test making sure the functionality roughly works, but I did not do deep inspection of how tshark is invoked. The test failure appears to be a flaky test which I cannot retrigger, but I believe nothing should have broken there.

@CrabeDeFrance
Copy link
Owner

Thanks for your patch proposal. I don't know exactly if this is a good idea to add a new "spawn" method named batched.
I did another proposal here : #27
Could you have a look and let me known if this would be ok for you ?
Regards

@CrabeDeFrance CrabeDeFrance merged commit aa65bb5 into CrabeDeFrance:main Dec 22, 2024
1 of 2 checks passed
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.

Feature request: batch mode
2 participants