
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
github.com/dengqiao/go-http-proxy-server
dengqiao/go-http-proxy-server` is a http reverse proxy server write with golang,based on json config
http-proxy-server is write with golang,so you'll want to have golang installed as well
$ git clone https://github.com/dengqiao/go-http-proxy-server.git
cp go-http-proxy-server to your gopath
cd gopath/go-http-proxy-server
go build
./go-http-proxy-server //if first run,will generate config template
vi config.json
update content example
{
"Upstreams":[
{
"Name":"test",
"Hosts":["http://localhost:8888","http://localhost:8080"],
"CheckUrl":"/aliveCheck"
}
],
"Services":[
{
"UpstreamName":"test",
"PathPrefix":"/test"
}
]
}
cd go-http-proxy-server
./go-http-proxy-server --help
./go-http-proxy-server --port=8888 --proxy_connection_timeout=5
--proxy_timeout=30 --proxy_buffer_size=8192
access http://ip:port/status get proxy server status
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.