Branch: Tag:

2004-05-05

2004-05-05 16:56:56 by Marcus Wellhardh <wellhard@roxen.com>

Fixed problem that caused the RoxenConfig cookie to be overwritten when the client do not support cookies. This happened when trying to specify the cookie in Roxen Search to force a specific language during crawling.

Rev: server/protocols/http.pike:1.437

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.436 2004/04/27 16:50:01 mast Exp $"; + constant cvs_version = "$Id: http.pike,v 1.437 2004/05/05 16:56:56 wellhard Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
568: Inside #if defined(OLD_RXML_CONFIG)
   return 1;    }   #endif -  if(!supports->cookies) +  if(!supports->cookies && !sizeof(config))    config = prestate;    else    if( port_obj->set_cookie