Changeset 1778
- Timestamp:
- 08/12/08 11:28:35 (3 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/handler_cgi_base.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1776 r1778 1 2008-08-12 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/handler_cgi_base.c (parse_header): Added a check for 4 the 'X-Accel-Redirect' in addition to the 'X-Sendfile' previously 5 supported. It has the exact same behavior. 6 1 7 2008-08-11 Taher Shihadeh <taher@unixwars.com> 2 8 cherokee/trunk/cherokee/handler_cgi_base.c
r1715 r1778 850 850 851 851 else if ((HANDLER_CGI_BASE_PROPS(cgi)->allow_xsendfile) && 852 (strncasecmp ("X-Sendfile: ", begin, 12) == 0)) { 853 852 ((strncasecmp ("X-Sendfile: ", begin, 12) == 0) || 853 (strncasecmp ("X-Accel-Redirect: ", begin, 18) == 0))) 854 { 854 855 cherokee_buffer_add (&cgi->xsendfile, begin+12, end - (begin+12)); 855 856 cherokee_buffer_remove_chunk (buffer, begin - buffer->buf, end2 - begin);