Home
last modified time | relevance | path

Searched refs:buf_to_file (Results 1 – 3 of 3) sorted by relevance

/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_pipe.c472 if (p->free_bufs && p->buf_to_file == NULL) { in ngx_event_pipe_read_upstream()
481 if (p->cacheable && (p->in || p->buf_to_file)) { in ngx_event_pipe_read_upstream()
763 if (p->buf_to_file) { in ngx_event_pipe_write_chain_to_temp_file()
769 out->buf = p->buf_to_file; in ngx_event_pipe_write_chain_to_temp_file()
857 if (p->buf_to_file) { in ngx_event_pipe_write_chain_to_temp_file()
858 p->temp_file->offset = p->buf_to_file->last - p->buf_to_file->pos; in ngx_event_pipe_write_chain_to_temp_file()
859 n -= p->buf_to_file->last - p->buf_to_file->pos; in ngx_event_pipe_write_chain_to_temp_file()
860 p->buf_to_file = NULL; in ngx_event_pipe_write_chain_to_temp_file()
1033 if (p->buf_to_file && b->start == p->buf_to_file->start) { in ngx_event_pipe_add_free_buf()
1034 b->pos = p->buf_to_file->last; in ngx_event_pipe_add_free_buf()
[all …]
H A Dngx_event_pipe.h91 ngx_buf_t *buf_to_file; member
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_upstream.c3185 p->buf_to_file = ngx_calloc_buf(r->pool); in ngx_http_upstream_send_response()
3186 if (p->buf_to_file == NULL) { in ngx_http_upstream_send_response()
3191 p->buf_to_file->start = u->buffer.start; in ngx_http_upstream_send_response()
3192 p->buf_to_file->pos = u->buffer.start; in ngx_http_upstream_send_response()
3193 p->buf_to_file->last = u->buffer.pos; in ngx_http_upstream_send_response()
3194 p->buf_to_file->temporary = 1; in ngx_http_upstream_send_response()