liudf0716 / xfrpc

The xfrpc project is a lightweight implementation of the FRP client written in C language for OpenWRT and IoT systems. It is designed to provide an efficient solution for resource-constrained devices such as OpenWRT routers and IoT devices, which often have limited ROM and RAM space.
GNU General Public License v3.0
712 stars 89 forks source link

Is it possible to drop libevent2-openssl dependence? #38

Open hqvv opened 1 year ago

hqvv commented 1 year ago

Thank you for your great work! Xfrpc reduce the size of frpc so that I can use it on my small flash route.

Is it possible to drop libevent2-openssl dependence if I am not using any https related function. libopenssl is big, I 'd like to replace it with libmbedtls, but I can find a libevent2-mbedtl package for xfrpc.

Thanks

liudf0716 commented 1 year ago

@hqvv Ok, I will check the code. It seems that xfrpc does not need to use libeven-openssl.

hqvv commented 1 year ago

@hqvv Ok, I will check the code. It seems that xfrpc does not need to use libeven-openssl.

Thank you so much!

https://github.com/openwrt/packages/blob/master/net/xfrpc/Makefile The makefile in openwrt included a dependence libevent2-openssl, and I can not compile xfrp if I removed libevent2-openssl dependence. libevent2-openssl depended on libopenssl, it is big... I have tried to find a libevent2-mbedtls or something else to replace the libevent2-openssl, but failed...

Thanks again.