Changeset 1745

Show
Ignore:
Timestamp:
08/06/08 11:59:04 (5 months ago)
Author:
alo
Message:

--

Files:

Legend:

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

    r1741 r1745  
     12008-08-06  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/handler_scgi.c (connect_to_server), 
     4        cherokee/handler_fcgi.c (connect_to_server): Fixes a bug that 
     5        could lead the server to a crash when it was trying to spawn a new 
     6        interpreter. 
     7 
    182008-08-05  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
    29 
  • cherokee/trunk/cherokee/handler_fcgi.c

    r1708 r1745  
    502502{ 
    503503        ret_t                          ret; 
     504        cherokee_source_interpreter_t *src_int; 
    504505        cherokee_connection_t         *conn    = HANDLER_CONN(hdl); 
    505506        cherokee_handler_fcgi_props_t *props   = HANDLER_FCGI_PROPS(hdl); 
    506         cherokee_source_interpreter_t *src_int = SOURCE_INT(hdl->src_ref); 
    507507 
    508508        /* Get a reference to the target host 
     
    513513                        return ret; 
    514514        } 
     515 
     516        src_int = SOURCE_INT(hdl->src_ref); 
    515517 
    516518        /* Try to connect 
  • cherokee/trunk/cherokee/handler_scgi.c

    r1708 r1745  
    257257{ 
    258258        ret_t                          ret; 
     259        cherokee_source_interpreter_t *src_int; 
    259260        cherokee_connection_t         *conn    = HANDLER_CONN(hdl); 
    260261        cherokee_handler_scgi_props_t *props   = HANDLER_SCGI_PROPS(hdl); 
    261         cherokee_source_interpreter_t *src_int = SOURCE_INT(hdl->src_ref); 
    262262 
    263263        /* Get a reference to the target host 
     
    268268                        return ret; 
    269269        } 
     270 
     271        src_int = SOURCE_INT(hdl->src_ref); 
    270272 
    271273        /* Try to connect