Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_flv_module.c @ 774:589841f06b87
previous commit broke two modules
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 12 Oct 2006 13:56:16 +0000 |
parents | 761a94247118 |
children | 836f099aa5cb |
comparison
equal
deleted
inserted
replaced
773:c3ebeee31026 | 774:589841f06b87 |
---|---|
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 |