Branch: Tag:

1999-07-02

1999-07-02 20:50:03 by David Hedbor <david@hedbor.org>

Removed range debug, made range log option a globvar instead of virtserver globvar

Rev: server/base_server/configuration.pike:1.203
Rev: server/base_server/roxen.pike:1.303
Rev: server/protocols/http.pike:1.138

6: Inside #if defined(MAGIC_ERROR)
  #ifdef MAGIC_ERROR   inherit "highlight_pike";   #endif - constant cvs_version = "$Id: http.pike,v 1.137 1999/06/30 21:09:18 neotron Exp $"; + constant cvs_version = "$Id: http.pike,v 1.138 1999/07/02 20:50:03 neotron Exp $";   // HTTP protocol module.   #include <config.h>   private inherit "roxenlib";
1129:    rlen = range_info[0][0] - current_pos;    if(separator != 1) {    // New range, write new separator. -  write("Initiating new range %d -> %d.\n", @range); +  // write("Initiating new range %d -> %d.\n", @range);    out += range_info[0][1];    num_bytes -= strlen(range_info[0][1]);    file->seek(range[0]);
1359:    @ranges[0], file->len);    file->file->seek(ranges[0][0]);    if(ranges[0][1] == (file->len - 1) && -  conf->query("RestoreConnLogFull")) +  GLOBVAR(RestoreConnLogFull))    // Log continuations (ie REST in FTP), 'range XXX-'    // using the entire length of the file, not just the    // "sent" part. Ie add the "start" byte location when logging