comparison src/event/ngx_event_pipe.c @ 5882:ec81934727a1

Core: added limit to recv_chain().
author Roman Arutyunyan <arut@nginx.com>
date Tue, 28 Oct 2014 12:29:58 +0300
parents 35990c69b3ac
children 973ee2276300
comparison
equal deleted inserted replaced
5881:ee9230cd4bda 5882:ec81934727a1
268 "no pipe bufs to read in"); 268 "no pipe bufs to read in");
269 269
270 break; 270 break;
271 } 271 }
272 272
273 n = p->upstream->recv_chain(p->upstream, chain); 273 n = p->upstream->recv_chain(p->upstream, chain, 0);
274 274
275 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, p->log, 0, 275 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, p->log, 0,
276 "pipe recv chain: %z", n); 276 "pipe recv chain: %z", n);
277 277
278 if (p->free_raw_bufs) { 278 if (p->free_raw_bufs) {