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

Passing None to recv() gives an InsufficientBuffer error. #7

Open
Rubensei opened this issue Aug 24, 2023 · 1 comment
Open

Passing None to recv() gives an InsufficientBuffer error. #7

Rubensei opened this issue Aug 24, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@Rubensei
Copy link
Owner

          Passing None to [WinDivertRecv](https://reqrypt.org/windivert-doc.html#divert_recv) gives me an immediate InsufficientBuffer error.

Originally posted by @AriFordsham in #5 (comment)

@Rubensei Rubensei changed the title Passing None to [WinDivertRecv](https://reqrypt.org/windivert-doc.html#divert_recv) gives me an immediate InsufficientBuffer error. Passing None to recv() gives an InsufficientBuffer error. Aug 24, 2023
@Rubensei Rubensei changed the title Passing None to recv() gives an InsufficientBuffer error. Passing None to recv() gives an InsufficientBuffer error. Aug 24, 2023
@Rubensei Rubensei added the bug Something isn't working label Aug 24, 2023
@Rubensei Rubensei added this to the 0.7.X milestone Aug 25, 2023
@Rubensei
Copy link
Owner Author

It seems I misunderstood the optionallity of the buffer and it's not actually optional for data capturing layers

I'll update recv methods acordingly but since it's a breaking change it will included in 0.7.X release

Rubensei added a commit that referenced this issue Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant