westbywest / robin-mesh-v2

Derivative of the ROBIN Mesh Firmware http://wiki-robin.meshroot.com/
4 stars 19 forks source link

Switch from uhttpd to mini_httpd or busybox httpd #11

Open westbywest opened 10 years ago

westbywest commented 10 years ago

Check if mini_httpd or busybox httpd with haserl is a better choice over uhttpd with conventional lua scripts.

http://wiki.openwrt.org/doc/howto/http.httpd

stokito commented 4 years ago

I learned source code of them and can give some insights on this. mini_httpd - is not actively developed, no even mailing list, has bigger source code than BB httpd. For example not supports caching via ETag. Interesting that there is two other servers from the same author: micro_httpd (200 LOC) and thttpd which is kind of reverse proxy but the acme.com website uses it.

bb httpd is strange. It is extremely limited in some aspects but in the same time it have built in firewall when you can limit access to some path by IP. But it can be easily patched for your needs. It looks like not so actively developed but at least maintained. All source code in a one big file.

uhttpd relies on OpenWrt's libubox so not so small as bb. It have better but biger source code. But it have good support of plugins like ubus.