Hello,
I've been working on a module to manipulate the upstream config at runtime for the last few weeks.
Currently, it's more or less a proof of concept with limited features, but I'd like some comments, concerning functionality and especially code. If you have any ideas regarding functionality, I'll add them to the todo list.
Current features:
Query list of upstreams
Query single upstream
Add peers to an upstream
Bit more details in the README.
Code wise, I'm mostly interested in comments regarding the memory handling of internal nginx structs (e.g. ngx_http_flynx_data_add_peer_handler, ngx_http_flynx_upstream.c:35-110), but any other criticism is welcome as well, as this is effectively my first try at nginx module development.
Greetings, Femaref
Attachment:
flynx.tar.gz
Description: Binary data