gangzhuo / http-proxy Goto Github PK
View Code? Open in Web Editor NEWHttp proxy. With http-proxy, you can assign a socks5 proxy as upstream proxy, and, use "chnroute" to by pass proxy.
License: MIT License
Http proxy. With http-proxy, you can assign a socks5 proxy as upstream proxy, and, use "chnroute" to by pass proxy.
License: MIT License
hi。
在mac上。
git clone https://github.com/GangZhuo/http-proxy http-proxy-by-GangZhuo
cd http-proxy-by-GangZhuo
git submodule init
git submodule update
make
it shows:
...
src/dnscache.h:30:28: error: unknown type name 'time_t'; did you mean 'size_t'?
void dnscache_check_expire(time_t now);
^~~~~~
size_t
/usr/include/sys/_types/_size_t.h:30:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
src/dnscache.c:228:6: error: conflicting types for 'dnscache_check_expire'
void dnscache_check_expire(time_t now)
^
src/dnscache.h:30:6: note: previous declaration is here
void dnscache_check_expire(time_t now);
^
2 errors generated.
make: *** [src/dnscache.o] Error 1
yudeMacBook-Air:http-proxy-by-GangZhuo brite$
怎么解决?
系统是:Linux Debian-N1 5.0.2-aml-s905 #5.77 2019 aarch64 GNU/Linux,用的最新源码编译。
命令行运行: http-proxy --config=/root/cfg/http-proxy.config -v --log-level=7
,然后用 Ctrl+C 结束,再次运行,一直提示:
init_listen() error: bind() error: 0.0.0.0:55555 errno=98, Address already in use
init_listens() error
需要几十秒或者 1分来钟才能再次运行。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.