comparison src/http/modules/ngx_http_flv_module.c @ 248:acd2ec3541cb NGINX_0_4_9

nginx 0.4.9 *) Feature: the "set" parameter in the "include" SSI command. *) Feature: the ngx_http_perl_module now tests the nginx.pm module version.
author Igor Sysoev <http://sysoev.ru>
date Fri, 13 Oct 2006 00:00:00 +0400
parents b52bd034c577
children fbf2b2f66c9f
comparison
equal deleted inserted replaced
247:fcca101509a4 248:acd2ec3541cb
60 static ngx_int_t 60 static ngx_int_t
61 ngx_http_flv_handler(ngx_http_request_t *r) 61 ngx_http_flv_handler(ngx_http_request_t *r)
62 { 62 {
63 u_char *p; 63 u_char *p;
64 off_t start, len; 64 off_t start, len;
65 size_t root;
65 ngx_fd_t fd; 66 ngx_fd_t fd;
66 ngx_int_t rc; 67 ngx_int_t rc;
67 ngx_uint_t level, i; 68 ngx_uint_t level, i;
68 ngx_str_t path; 69 ngx_str_t path;
69 ngx_err_t err; 70 ngx_err_t err;
92 93
93 if (rc != NGX_OK && rc != NGX_AGAIN) { 94 if (rc != NGX_OK && rc != NGX_AGAIN) {
94 return rc; 95 return rc;
95 } 96 }
96 97
97 if (ngx_http_map_uri_to_path(r, &path, 0) == NULL) { 98 if (ngx_http_map_uri_to_path(r, &path, &root, 0) == NULL) {
98 return NGX_HTTP_INTERNAL_SERVER_ERROR; 99 return NGX_HTTP_INTERNAL_SERVER_ERROR;
99 } 100 }
100 101
101 log = r->connection->log; 102 log = r->connection->log;
102 103