Proxy Retry Logic

Eugaia ngx.eugaia at gmail.com
Thu Dec 23 11:58:00 MSK 2010


Hi,

On 23/12/2010 04:50, Sirsiwal, Umesh wrote:
> I just tried using error_pages and have my post_subrequest return the error code as Maxim had suggested.
>
> That works very well. The only oddity is that I get two post_subrequest callback for a single subrequest. That is something I can handle my module.
Good.  In your post_subrequest function, assuming you only want it 
called once, you should set sr->post_subrequest = NULL.

Marcus.



More information about the nginx-devel mailing list