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

Wrong request size calculation in pcap2ammo tool #1

Open
kr0nd opened this issue Nov 17, 2021 · 1 comment
Open

Wrong request size calculation in pcap2ammo tool #1

kr0nd opened this issue Nov 17, 2021 · 1 comment

Comments

@kr0nd
Copy link

kr0nd commented Nov 17, 2021

Yandex Tank expects the request size in bytes (in utf-8 encoding) whereas the tool calculates size as count of characters in the request. This solution worked for most of requests because they contained only 1-byte characters. Unfortunately, UTF-8 uses 1-4 bytes per character in general.

@kr0nd kr0nd changed the title Wrong request size calculation Wrong request size calculation in pcap2ammo tool Nov 17, 2021
@kr0nd
Copy link
Author

kr0nd commented Nov 17, 2021

Fixed in #2

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

No branches or pull requests

1 participant