Branch: Tag:

2000-08-28

2000-08-28 09:53:59 by Per Hedbor <ph@opera.com>

Fixes [Bug 122 (#122)]

Rev: server/protocols/http.pike:1.260

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.259 2000/08/28 07:05:27 per Exp $"; + constant cvs_version = "$Id: http.pike,v 1.260 2000/08/28 09:53:59 per Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
100:      multiset (string) prestate = (< >);   multiset (string) config = (< >); - multiset (string) supports = (< >); + multiset (string) supports;   multiset (string) pragma = (< >);      string remoteaddr, host;
632:       not_query = Roxen.simplify_path(f);   #ifndef DISABLE_SUPPORTS -  if( !sizeof(supports) ) +  if( !supports )    {    if( !client )    {
953:    misc[linename] = lower_case(contents);    break;    -  case "accept-encoding": -  foreach((contents-" ")/",", string e) { -  if (lower_case(e) == "gzip") { -  supports["autogunzip"] = 1; + // case "accept-encoding": + // foreach((contents-" ")/",", string e) { + // if (lower_case(e) == "gzip") { + // supports["autogunzip"] = 1; + // } + // }    } -  } -  } +    #if !constant(Roxen.HeaderParser)    }   #endif