comparison src/http/ngx_http_write_filter.c @ 28:7ca9bdc82b3f NGINX_0_1_14

nginx 0.1.14 *) Feature: the autoconfiguration directives: --http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and --http-fastcgi-temp-path=PATH *) Change: the directory name for the temporary files with the client request body is specified by directive client_body_temp_path, by default it is <prefix>/client_body_temp. *) Feature: the ngx_http_fastcgi_module and the directives: fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params, fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout, fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers, fastcgi_busy_buffers_size, fastcgi_temp_path, fastcgi_max_temp_file_size, fastcgi_temp_file_write_size, fastcgi_next_upstream, and fastcgi_x_powered_by. *) Bugfix: the "[alert] zero size buf" error; bug appeared in 0.1.3. *) Change: the URI must be specified after the host name in the proxy_pass directive. *) Change: the %3F symbol in the URI was considered as the argument string start. *) Feature: the unix domain sockets support in the ngx_http_proxy_module. *) Feature: the ssl_engine and ssl_ciphers directives. Thanks to Sergey Skvortsov for SSL-accelerator.
author Igor Sysoev <http://sysoev.ru>
date Tue, 18 Jan 2005 00:00:00 +0300
parents 8b6db3bda591
children da8c190bdaba
comparison
equal deleted inserted replaced
27:66901c2556fd 28:7ca9bdc82b3f
67 /* find the size, the flush point and the last link of the saved chain */ 67 /* find the size, the flush point and the last link of the saved chain */
68 68
69 for (cl = ctx->out; cl; cl = cl->next) { 69 for (cl = ctx->out; cl; cl = cl->next) {
70 ll = &cl->next; 70 ll = &cl->next;
71 71
72 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
73 "write old buf t:%d f:%d %p, pos %p, size: %z "
74 "file: %O, size: %z",
75 cl->buf->temporary, cl->buf->in_file,
76 cl->buf->start, cl->buf->pos,
77 cl->buf->last - cl->buf->pos,
78 cl->buf->file_pos,
79 cl->buf->file_last - cl->buf->file_pos);
80
72 #if 1 81 #if 1
73 if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) { 82 if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) {
83 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
84 "zero size buf in writer");
74 ngx_debug_point(); 85 ngx_debug_point();
75 } 86 }
76 #endif 87 #endif
77 88
78 size += ngx_buf_size(cl->buf); 89 size += ngx_buf_size(cl->buf);
95 106
96 cl->buf = ln->buf; 107 cl->buf = ln->buf;
97 *ll = cl; 108 *ll = cl;
98 ll = &cl->next; 109 ll = &cl->next;
99 110
111 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
112 "write new buf t:%d f:%d %p, pos %p, size: %z "
113 "file: %O, size: %z",
114 cl->buf->temporary, cl->buf->in_file,
115 cl->buf->start, cl->buf->pos,
116 cl->buf->last - cl->buf->pos,
117 cl->buf->file_pos,
118 cl->buf->file_last - cl->buf->file_pos);
119
100 #if 1 120 #if 1
101 if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) { 121 if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) {
122 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
123 "zero size buf in writer");
102 ngx_debug_point(); 124 ngx_debug_point();
103 } 125 }
104 #endif 126 #endif
105 127
106 size += ngx_buf_size(cl->buf); 128 size += ngx_buf_size(cl->buf);