Changeset 489

Show
Ignore:
Timestamp:
07/31/2005 10:43:47 AM (3 years ago)
Author:
jan
Message:

the error-handler defaults to 200 of error was handled successfully, fixes #168

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.3.x/src/connections.c

    r470 r489  
    12601260                                } else if (con->in_error_handler) { 
    12611261                                        /* error-handler is back and has generated content */ 
    1262                                         /* reset the old status */ 
    1263                                         if (con->http_status == 0) { 
    1264                                                 con->http_status = con->error_handler_saved_status; 
    1265                                         } 
     1262                                        /* if Status: was set, take it otherwise use 200 */ 
    12661263                                } 
    12671264