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

Request time out / rate limit support #315

Closed
blackpungas opened this issue Jun 29, 2021 · 5 comments · Fixed by #330 or #347
Closed

Request time out / rate limit support #315

blackpungas opened this issue Jun 29, 2021 · 5 comments · Fixed by #330 or #347
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed.

Comments

@blackpungas
Copy link

Hi there,

Im using httpx to get information on different endpoints on the same server, and there is no way to rate limit the requests per second(as I read on the Help menu), I reduced them by changing the number of threads used but still there is a lot of requests performed

is there any other way to do this?

@ehsandeep
Copy link
Member

@blackpungas httpx -threads 1 try this?

@blackpungas
Copy link
Author

yup, that still got me banned from some servers

@ehsandeep ehsandeep changed the title rate limit Request time out / rate limit support Jul 6, 2021
@ehsandeep ehsandeep added the Type: Enhancement Most issues will probably ask for additions or changes. label Jul 6, 2021
@nil0x42
Copy link

nil0x42 commented Jul 14, 2021

while using options that generate additional requests (-http2, -vhost, -pipeline, ...) it would be useful to at least be able to define a minimum time between two requests on the same IP/target

@ehsandeep ehsandeep added Type: Discussion Some ideas need to be planned and disucssed to come to a strategy. and removed Type: Enhancement Most issues will probably ask for additions or changes. labels Jul 24, 2021
@Mzack9999 Mzack9999 linked a pull request Jul 30, 2021 that will close this issue
@Mzack9999 Mzack9999 added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Jul 30, 2021
@ehsandeep ehsandeep linked a pull request Aug 7, 2021 that will close this issue
@ehsandeep ehsandeep removed the Type: Discussion Some ideas need to be planned and disucssed to come to a strategy. label Aug 7, 2021
@ehsandeep
Copy link
Member

@blackpungas rate-limit flag is added to control the number of requests to send per second.

@blackpungas
Copy link
Author

wow! YES!

you're awesome :) thanks guys

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed.
Projects
None yet
5 participants