Changeset 686

Show
Ignore:
Timestamp:
03/18/07 19:36:11 (2 years ago)
Author:
alo
Message:

--

Files:

Legend:

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

    r683 r686  
     12007-03-18  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/handler_scgi.c (cherokee_handler_scgi_init): Return 
     4        ret_error rather than ret. Under some weird circunstances thread.c 
     5        was receiving a ret_deny from this funcion. It's safer to return 
     6        ret_error in these functions and be sure the connection is handled 
     7        properly. 
     8 
    192007-03-16  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
    210 
  • cherokee/trunk/cherokee/handler_fcgi.c

    r656 r686  
    731731                if (unlikely (ret != ret_ok)) { 
    732732                        conn->error_code = http_service_unavailable; 
    733                         return ret;  
     733                        return ret_error;  
    734734                } 
    735735 
  • cherokee/trunk/cherokee/handler_scgi.c

    r656 r686  
    358358                if (unlikely (ret < ret_ok)) { 
    359359                        conn->error_code = http_internal_error; 
    360                         return ret
     360                        return ret_error
    361361                } 
    362362                 
     
    373373                if (unlikely (ret != ret_ok)) { 
    374374                        conn->error_code = http_internal_error; 
    375                         return ret
     375                        return ret_error
    376376                } 
    377377 
     
    381381                if (unlikely (ret != ret_ok)) { 
    382382                        conn->error_code = http_service_unavailable; 
    383                         return ret
     383                        return ret_error
    384384                } 
    385385