Tracking sent responses

2015-11-10 Thread Julien FROMENT
Hello, We would like to use Nginx to keep track of exactly what part of an upstream's server response was sent over a socket. Nginx could call an API asynchronously with the number of bytes sent over the socket for a given request. Here is the pseudo code: -- Client send a request --

Re: Tracking sent responses

2015-11-10 Thread Sergey Brester
Hi, I'm sure you can do that using on-board "equipment" of nginx, without deep integrating to the nginx (without write of own module). You can use for this a "post_action", something like: post_action @after_request_location; But (There is always a "but":), according to my last known sta