Changeset 1960

Show
Ignore:
Timestamp:
09/07/08 18:01:47 (4 months ago)
Author:
alo
Message:

--

Files:

Legend:

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

    r1959 r1960  
    112008-09-07  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * qa/173-Chunked-SCGI.py, qa/Makefile.am: Adds a new QA test to 
     4        check whether SCGI works with chunked encoding. 
    25 
    36        * cherokee/thread.c: Fixes keep-alive timeout. It was not closing 
  • cherokee/trunk/qa/171-SCGI-Keepalive.py

    r1949 r1960  
    5555            self.CopyFile ('pyscgi.py', pyscgi) 
    5656 
    57  
    5857        vars = globals() 
    5958        vars['scgi_file'] = scgi_file 
  • cherokee/trunk/qa/172-Chunked-CGI.py

    r1949 r1960  
    33DIR            = "chunked_cgi_1" 
    44MAGIC          = letters_random (300) 
     5 
     6CHUNKED_BEGIN  = hex(len(MAGIC))[2:] + '\r\n' 
    57CHUNKED_FINISH = "0\r\n\r\n" 
    68 
     
    2729                                 "Host: localhost\r\n" 
    2830        self.expected_error    = 200 
    29         self.expected_content  = [MAGIC, "Transfer-Encoding: chunked", CHUNKED_FINISH] 
     31        self.expected_content  = ["Transfer-Encoding: chunked",  
     32                                  CHUNKED_BEGIN, MAGIC, CHUNKED_FINISH] 
    3033        self.conf              = CONF 
    3134 
  • cherokee/trunk/qa/Makefile.am

    r1940 r1960  
    177177170-Error-ContentLength.py \ 
    178178171-SCGI-Keepalive.py \ 
    179 172-Chunked-CGI.py 
     179172-Chunked-CGI.py \ 
     180173-Chunked-SCGI.py 
    180181 
    181182test: