4 ms·
Some comments about comments and the code: 1. The URL shortener is just a demonstration of the framework being used. For a POC/MVP i would not expect it to be
by zoom6628 10y ago
Some comments about comments and the code:
1. The URL shortener is just a demonstration of the framework being used. For a POC/MVP i would not expect it to be the most reliable code on the planet. Im ok with that.
2. The WAFer framework is great idea for bringing a very lite server and minimalist framework to certain devices. This has applications in SBC and IOT devices where all resources are at a premium.
3. Yes the C code might not be perfect but remove any github project that isnt perfect, secure and you wont have many left. The principle objective is 'get it out there' and let people like the other commenters have their input/opinion from which to make it better.
4. The concept and this lite implementation of the idea is hugely useful in certain use cases. Just like nginx is great for general purpose servers. This is almost a C implementation of Bottle for python.
5. nodesocket and chadscira seem to have gotten the point of this and given useful feedback to the authors (Im not one of them in case you were thinking that).
So to sum it up - a great post, excellent work with a tool that has a lot of potential for specific scenarios. When deploying if using things like Cloudfare Edge and giving it a bit of Productizing (my day job is as a Product Manager for a global ERP business) then this could be a hit (pun intended :-J ).