dosgo / ngrok-c

ngrok client for c language,Due to the use of GO ngrok language development, porting to embedded devices some inconvenience, such as openwrt, so use C language rewrite a client. Very mini, the need to support polarssl library.
MIT License
496 stars 203 forks source link

跟随主线,去掉线程,以减少内存占用 #17

Closed auslin45 closed 8 years ago

auslin45 commented 8 years ago

跟随主线更新,去掉openwrt-openssl里编译的-lpthread参数,不知道对性能什么的有什么影响,本人编译后使用没什么异常,每个进程内存占用3%

dosgo commented 8 years ago

新版不使用pthread线程了。。性能几乎没有影响,重点是掉线重连难说,不过我测试是过了。