comparison src/http/modules/ngx_http_flv_module.c @ 250:fbf2b2f66c9f NGINX_0_4_10

nginx 0.4.10 *) Feature: the POP3 proxy supports the APOP command. *) Bugfix: if the select, poll or /dev/poll methods were used, then while waiting authentication server response the IMAP/POP3 proxy hogged CPU. *) Bugfix: a segmentation fault might occur if the $server_addr variable was used in the "map" directive. *) Bugfix: the ngx_http_flv_module did not support the byte ranges for full responses; bug appeared in 0.4.7. *) Bugfix: nginx could not be built on Debian amd64; bug appeared in 0.4.9.
author Igor Sysoev <http://sysoev.ru>
date Mon, 23 Oct 2006 00:00:00 +0400
parents acd2ec3541cb
children c5c2b2883984
comparison
equal deleted inserted replaced
249:7a34085272cb 250:fbf2b2f66c9f
212 b->last = ngx_flv_header + sizeof(ngx_flv_header) - 1; 212 b->last = ngx_flv_header + sizeof(ngx_flv_header) - 1;
213 b->memory = 1; 213 b->memory = 1;
214 214
215 out[0].buf = b; 215 out[0].buf = b;
216 out[0].next = &out[1]; 216 out[0].next = &out[1];
217 } 217
218 } else {
219 r->allow_ranges = 1;
220 }
221
218 222
219 b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); 223 b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
220 if (b == NULL) { 224 if (b == NULL) {
221 return NGX_HTTP_INTERNAL_SERVER_ERROR; 225 return NGX_HTTP_INTERNAL_SERVER_ERROR;
222 } 226 }