Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Dumping request metadata to local port (no replies)

$
0
0
Hi,

I am relatively new to NGINX module development so I apologize if the question may seem trivial.

I would like to dump data/metadata about certain requests that my nginx server receives for a certain location/ config. Can I write a module that creates a regular C udp socket as well as a handler that works as one of the content phase handlers and dumps the data I want to the localhost port using the socket.

Is this safe to do in the first place? Is there any other quicker or easier way to do what I want?

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>