Changeset 475

Show
Ignore:
Timestamp:
11/22/06 15:09:37 (2 years ago)
Author:
alo
Message:

--

Files:

Legend:

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

    r473 r475  
    112006-11-22  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/handler_fcgi.c (do_send): Post handling was 
     4        broken. Actually, I broke it with another commit a couple of days 
     5        ago. It's working again. 
    26 
    37        * cherokee/config_node.c (cherokee_config_node_add): Fixes bug 
  • cherokee/trunk/cherokee/handler_fcgi.c

    r467 r475  
    537537         
    538538        ret = cherokee_socket_write (&hdl->socket, buffer, &written); 
    539         printf ("send ret %d\n", ret); 
    540539        switch (ret) { 
    541540        case ret_ok: 
    542                 return ret_ok; 
     541                break; 
    543542        case ret_eagain: 
    544543                cherokee_thread_deactive_to_polling (HANDLER_THREAD(hdl), HANDLER_CONN(hdl),  
     
    546545                return ret_eagain; 
    547546        default: 
    548                 printf ("Error? %d\n", ret); 
    549547                conn->error_code = http_bad_gateway; 
    550548                return ret_error; 
  • cherokee/trunk/cherokee/post.c

    r256 r475  
    8484                char  template[64]; 
    8585                 
    86                 strncpy (template, "/tmp/cherokee_post_XXXXXX", 64);  
     86                strncpy (template, "/tmp/cherokee_post_XXXXXX", sizeof(template));  
    8787                 
    8888                /* Generate a unique name