Changeset 1613

Show
Ignore:
Timestamp:
07/07/08 17:01:43 (3 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1612 r1613  
    112008-07-07  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/connection.c (cherokee_connection_clean_for_respin): 
     4        Patch to fix a problem that was making the server to fail the QA 
     5        test number 169: Internal respins were not handled properly when 
     6        the original request was using a special Directory Root. 
    27 
    38        * qa/169-Pipermail.py, qa/Makefile.am (EXTRA_DIST): Added new 
  • cherokee/trunk/cherokee/connection.c

    r1611 r1613  
    18901890cherokee_connection_clean_for_respin (cherokee_connection_t *conn) 
    18911891{ 
     1892        TRACE(ENTRIES, "Clean for respin: conn=%p\n", conn); 
     1893 
     1894        if (cherokee_connection_use_webdir(conn)) { 
     1895                cherokee_buffer_prepend_buf (&conn->request, &conn->web_directory); 
     1896                cherokee_buffer_clean (&conn->local_directory); 
     1897                BIT_UNSET (conn->options, conn_op_document_root); 
     1898        }  
     1899 
    18921900        cherokee_buffer_clean (&conn->web_directory); 
    18931901 
     1902        TRACE_CONN(conn); 
    18941903        return ret_ok; 
    18951904}