Determine when request is fully sent

Igor Sysoev is at rambler-co.ru
Tue Feb 12 18:12:57 MSK 2008


On Tue, Feb 12, 2008 at 03:48:20PM +0100, Marcin Gajda wrote:

> On Tue, Feb 12, 2008 at 02:18:01PM +0300, Igor Sysoev wrote:
> 
> > nginx may report only successful sending full response to a kernel,
> > but it can not say whether response was sent by kernel to client.
> 
> Hm... It's a pity for me :(
> 
> But perhaps the solution with sending full response to a kernel could be
> sufficient for me. Could you write me, which module type should I use?
> Maybe a filter linked somewhere at the end?

      location / {
           post_action  /post;
      }

      location = /post {
           proxy_pass/etc.
           # $request_completion here is "OK" if request complete
           # or "" otherwise.
      }


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list