Branch: Tag:

2006-08-16

2006-08-16 10:56:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Update real_cookies as well as cookies when disconnecting the CookieJar.

Rev: server/protocols/http.pike:1.503

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2004, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.502 2006/08/11 15:03:26 grubba Exp $"; + constant cvs_version = "$Id: http.pike,v 1.503 2006/08/16 10:56:10 grubba Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
2091:       if (objectp(cookies)) {    // Disconnect the cookie jar. -  cookies = ~cookies; +  real_cookies = cookies = ~cookies;    }       int varies = misc->vary && (sizeof(misc->vary) - misc->vary["Host"]);