This would get toasted by Nginx right now. I'm on step 2 of "make it work, make it right, make it fast." There's a lot of low hanging fruit, like string concatenation, small mallocs, etc.
I started out working with OpenResty, and it still makes the most sense for a project that leans heavily on the functionality of Nginx.
I started out working with OpenResty, and it still makes the most sense for a project that leans heavily on the functionality of Nginx.