Skip to content

heyman/throttled-http-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Throttled HTTP Proxy

Small server that transparently proxies HTTP requests to some other pre-defined server. The number of requests can be throttled, which may be useful when using an API which imposes limits on the number of concurrent requests that you are allowed to make.

Usage

Usage: main.py [options] target-host

Options:
  -h, --help            show this help message and exit
  -i INTERFACE, --interface=INTERFACE
                        What interface to listen to. Defaults to 0.0.0.0
  -p PORT, --port=PORT  What port to listen on. Defaults to 6565
  --certfile=CERTFILE   SSL certfile if the proxy server should use SSL
  --keyfile=KEYFILE     SSL keyfile if the proxy server should use SSL
  --logfile=LOGFILE     File to log to. If not specified, logging will go to
                        stdout
  --loglevel=LOGLEVEL   Log level. Defaults to INFO
  --pool-size=POOL_SIZE
                        Number of concurrent requests that can be proxied

About

Transparently proxies HTTP request to some other pre-defined server with support for throttling the number of concurrent requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages