7 messages in ru.sysoev.nginxRe: nginx large POST body under Solaris
FromSent OnAttachments
Wil TanMar 25, 2008 12:45 pm 
Igor SysoevMar 25, 2008 1:41 pm 
Wil TanMar 25, 2008 3:41 pm 
Igor SysoevMar 25, 2008 11:45 pm 
Wil TanMar 26, 2008 1:44 am 
Igor SysoevMar 26, 2008 2:16 am.segfault
Wil TanMar 26, 2008 9:23 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx large POST body under SolarisActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Mar 26, 2008 2:16:08 am
List:ru.sysoev.nginx
Attachments:
patch.segfault - 0.7k

On Wed, Mar 26, 2008 at 04:45:15AM -0400, Wil Tan wrote:

Thank you so much for your help. The variables that you asked for are included at the bottom.

Try the attached patch.

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

Index: src/http/ngx_http_upstream.c =================================================================== --- src/http/ngx_http_upstream.c (revision 1277) +++ src/http/ngx_http_upstream.c (working copy) @@ -333,7 +333,6 @@

clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);

- u->output.sendfile = c->sendfile; u->output.pool = r->pool; u->output.bufs.num = 1; u->output.bufs.size = clcf->client_body_buffer_size; @@ -702,6 +701,7 @@ c->read->handler = ngx_http_upstream_process_header;

c->sendfile &= r->connection->sendfile; + u->output.sendfile = c->sendfile;

c->pool = r->pool; c->read->log = c->write->log = c->log = r->connection->log;