Hi guys,
I am new to nginx source and I need a little assistance about how to implement the following scheme:
one nginx process is catching data constantly from a stream (some socket) and puting it to a shared memory (for example), and when there si request for a URI that matches my module to serve what is in the shared memory (and options not to close connection).
One program produces data on socket, one nginx process takes it constantly and many other serve it though http, it's like duplicating the fist stream of data encapsulation it in http by the nginx, no just to open another conenction to the socket (not needed proxy-like behaviour).
Thanks in advance!