[LEDE-DEV] [RFC] uhttpd: [PATCH 1/2] modules: Add proxy module

Felix Fietkau nbd at nbd.name
Mon May 23 10:01:03 PDT 2016


On 2016-05-23 17:12, Jo-Philipp Wich wrote:
> Hi Daniel,
> 
> from a cursory look the code looks okay to me so far however I'd really
> love to see this getting added as loadable plugin.
> 
> Do you think it is feasible to do? We might need to extend "struct
> uhttpd_ops" for that but that should be no problem as long as new
> members are getting added at the end.
I think the json_script support might be a suitable way to hook into url
handling and configure proxy support. I think that's way more flexible
than adding even more tricks to the already overused prefix matching code.

- Felix




More information about the Lede-dev mailing list