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: Read response body more efficiently #4

Closed
wants to merge 2 commits into from
Closed

fix: Read response body more efficiently #4

wants to merge 2 commits into from

Conversation

erikgeiser
Copy link
Contributor

This PR removes the (for most request unnecessary) allocation of 5MB for the response body per request.

I tested this with a 45k-lines wordlist against a local HTTPS test server in Go that returns a random status code and small response bodies:

Branch Requests/s Time
Current Master 1811 19s
This PR 11947 3s

@rtpt-alexanderneumann
Copy link
Member

Thanks! Merged as e051791

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.

None yet

2 participants