Branch: Tag:

2006-09-14

2006-09-14 09:23:21 by Marcus Wellhardh <wellhard@roxen.com>

Fixed second part of [Bug 4237 (#4237)]. Removed charset from $content-type log format.

Rev: server/base_server/roxen.pike:1.899

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.898 2006/09/08 07:13:54 noring Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.899 2006/09/14 09:23:21 wellhard Exp $";      //! @appears roxen   //!
5351:    ({ "eval-status","%s", ("sizeof(request_id->eval_status||({}))?"    "indices(request_id->eval_status)*\",\":"    "\"-\""), 0 }), -  ({ "content-type", "%s", "(file->type||\"-\")", 0 }), +  ({ "content-type", "%s", "((file->type || \"-\") / \";\")[0]", 0 }),    ({ "server-uptime", "%d", "max(1, time(1) - roxen->start_time)", 0 }),    ({ "server-cputime", "%d", "server_cputime()", 0 }),    ({ "server-usertime", "%d", "server_usertime()", 0 }),