Branch: Tag:

2009-04-28

2009-04-28 16:42:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

clone_me() now survives being without cookies again.

Rev: server/base_server/prototypes.pike:1.249
Rev: server/protocols/http.pike:1.599

5:   #include <config.h>   #include <module.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.248 2009/04/28 13:55:08 marty Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.249 2009/04/28 16:42:57 grubba Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
2983:       if (objectp(cookies)) {    c->cookies = c->CookieJar(real_cookies + ([])); +  } else if (cookies) { +  c->cookies = c->real_cookies = real_cookies + ([]);    } else { -  c->real_cookies = real_cookies + ([]); -  c->cookies = cookies + ([]); +  c->cookies = c->real_cookies = ([]);    }    c->request_headers = request_headers + ([]);    c->my_fd = 0;