Welcome! Log In Create A New Profile

Advanced

Re: doubt with proxy busy buffer

Maxim Dounin
September 01, 2011 04:02AM
Hello!

On Thu, Sep 01, 2011 at 03:30:34AM -0400, bigplum wrote:

> Hi,
>
> I write a module for file download, but sometimes it will alert
> "the http output chain is empty while sending to client".
> And I check the code, it seems that if proxy busy buffer run out,
> write_filter will always return ngx error.
>
> Is that right?

If ngx_http_write_filter() is called with NULL, r->out must not be
empty. If it's empty - this means that buffer(s) to flush
disappeared somewhere, and alert will warn you about this problem.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

doubt with proxy busy buffer

bigplum September 01, 2011 03:30AM

Re: doubt with proxy busy buffer

Maxim Dounin September 01, 2011 04:02AM

Re: doubt with proxy busy buffer

bigplum September 01, 2011 04:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready