Branch: Tag:

2009-06-24

2009-06-24 11:38:00 by Martin Stjernholm <mast@lysator.liu.se>

Added $queue-length log field.

Rev: server/base_server/configuration.pike:1.680
Rev: server/base_server/prototypes.pike:1.255
Rev: server/base_server/roxen.pike:1.1035
Rev: server/protocols/http.pike:1.611

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2009, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.610 2009/06/12 15:53:49 mast Exp $"; + constant cvs_version = "$Id: http.pike,v 1.611 2009/06/24 11:38:00 mast Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
3388:       REQUEST_WERR("HTTP: Calling roxen.handle().");    queue_time = gethrtime(); +  queue_length = roxen.handle_queue_length();    roxen.handle(handle_request);    })    {