Changeset 1850

Show
Ignore:
Timestamp:
05/09/2007 09:36:35 AM (1 year ago)
Author:
jan
Message:

fixed premature close of fastcgi connections on status 304

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/connections.c

    r1788 r1850  
    329329        case 304: 
    330330        default: 
    331                 no_response_body = 1; 
     331                if (con->mode == DIRECT) { 
     332                        /* only if we have handled the request internally 
     333                         * we will see no response-content 
     334                         * 
     335                         * if it was a fastcgi request we will see a END_REQUEST packet 
     336                         * after the header was parsed.  
     337                         * 
     338                         *  */ 
     339                        no_response_body = 1; 
     340                } 
    332341                break; 
    333342        }