Changeset 1909
- Timestamp:
- 08/27/08 12:52:51 (3 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/connection.c (modified) (1 diff)
- cherokee/trunk/qa/171-SCGI-Keepalive.py (added)
- cherokee/trunk/qa/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1904 r1909 1 2008-08-27 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/connection.c (cherokee_connection_build_header): Fixes 4 a problem with scgi/fcgi/cgi and keep-alive connections. Reported 5 by Rui Lopes <rgl@ruilopes.com> 6 7 * qa/171-SCGI-Keepalive.py, qa/Makefile.am: Adds a new QA test. It 8 ensures that the SCGI handler replies Connection: Keep-Alive 9 connections without closing the connection. 10 1 11 2008-08-26 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 12 cherokee/trunk/cherokee/connection.c
r1880 r1909 622 622 if (strcasestr (conn->header_buffer.buf, "Content-Length: ") == NULL) 623 623 conn->keepalive = 0; 624 } 625 626 627 if ((! HANDLER_SUPPORTS (conn->handler, hsupport_length)) && 628 (! HANDLER_SUPPORTS (conn->handler, hsupport_chunked))) 624 625 } else if ((! HANDLER_SUPPORTS (conn->handler, hsupport_length)) && 626 (! HANDLER_SUPPORTS (conn->handler, hsupport_chunked))) 629 627 { 630 628 conn->keepalive = 0; cherokee/trunk/qa/Makefile.am
r1800 r1909 175 175 168-Deflate-Encoding.py \ 176 176 169-Pipermail.py \ 177 170-Error-ContentLength.py 177 170-Error-ContentLength.py \ 178 171-SCGI-Keepalive.py 178 179 179 180 test: